[kmobiletools] branches/extragear/kde3/pim/kmobiletools/kmobiletools/mainpart

Marco Gulino marco at kmobiletools.org
Sun Jun 17 17:29:10 CEST 2007


SVN commit 676731 by gulino:

Fixing Bluetooth Wizard doesn't enable bluetooth widgets.


 M  +4 -2      newdevicewizard.cpp  


--- branches/extragear/kde3/pim/kmobiletools/kmobiletools/mainpart/newdevicewizard.cpp #676730:676731
@@ -46,6 +46,7 @@
 #include <qradiobutton.h>
 #include <kplugininfo.h>
 #include <qwidgetstack.h>
+#include "bluetoothitems.h"
 #ifdef HAVE_KBLUETOOTH
 #define useBT (selBT && ( BTItem || !manualSVC->isChecked() ) )
 #define selBT ( btenable->isOn())
@@ -151,12 +152,13 @@
 //     wizardLogoPixmap.load( KGlobal::dirs ()->findResource("data", "kmobiletools/bticon.png") );
 //     btwizard->setIconSet(QIconSet (wizardLogoPixmap) );
     btStack->raiseWidget(0);
+    btenable->setEnabled(false);
 #else
-    btenable->setEnabled(false);
+    btenable->setEnabled(true);
     btStack->raiseWidget(1);
 #endif
+    btStack->setEnabled(false);
     resize(minimumSize());
-    btStack->setEnabled(false);
     QValueList<KPluginInfo *> engines=EnginesList::instance()->availEngines();
     if(engines.count())
     {


More information about the kmobiletools mailing list