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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/lock_logout
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2009-03-15 21:45:30
Message-ID: 1237153530.177849.25667.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 939872 by chehrlic:

win32 compile++

 M  +4 -8      lockout.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/lock_logout/lockout.cpp #939871:939872
@@ -179,10 +179,7 @@
 
 void LockOut::configAccepted()
 {
-#ifdef Q_OS_WIN
-    return;
-#endif
-
+#ifndef Q_OS_WIN
     bool changed = false;
     KConfigGroup cg = config();
 
@@ -202,14 +199,12 @@
         showButtons();
         emit configNeedsSaving();
     }
+#endif
 }
 
 void LockOut::createConfigurationInterface(KConfigDialog *parent)
 {
-#ifdef Q_OS_WIN
-    return;
-#endif
-
+#ifndef Q_OS_WIN
     QWidget *widget = new QWidget(parent);
     ui.setupUi(widget);
     parent->addPage(widget, i18n("General"), Applet::icon());
@@ -218,6 +213,7 @@
 
     ui.checkBox_lock->setChecked(m_showLockButton);
     ui.checkBox_logout->setChecked(m_showLogoutButton);
+#endif
 }
 
 void LockOut::showButtons()
[prev in list] [next in list] [prev in thread] [next in thread] 

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