[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/network/kbluetooth/src
From:       Alex Fiestas <alex () eyeos ! org>
Date:       2009-12-07 5:58:21
Message-ID: 1260165501.534646.6091.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1059637 by afiestas:

By default is false and if Autostart is true it's changed. I change this because \
QACtion->checked is false by default

 M  +3 -3      trayicon.cpp  


--- trunk/playground/network/kbluetooth/src/trayicon.cpp #1059636:1059637
@@ -182,10 +182,10 @@
 	adapterAction = settingsMenu->addAction(KIcon("configure"), i18n("Bluetooth \
Adapters"), this, SLOT(showAdapterInterface()));  serverAction = \
settingsMenu->addAction(KIcon("network-server"), i18n("Obex server"), this, \
SLOT(enableServer()));  serverAction->setCheckable(true);
-	serverAction->setChecked(true);//By default obexserver is activated
 	KConfigGroup obexServerConfig(config, "ObexServer");
-	if(obexServerConfig.readEntry("Autostart") == "false") {
-		serverAction->setChecked(false);
+	if(obexServerConfig.readEntry("Autostart") == "true") {
+		kDebug() << "Enabling obex server";
+		serverAction->setChecked(true);
 	}
 
 	aboutAction = contextMenu()->addAction(KIcon("folder-remote"), i18n("About"), this, \
SLOT(showAboutInfo()));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic