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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/containments/screensaver
From:       Chani Armitage <chanika () gmail ! com>
Date:       2009-03-09 17:09:23
Message-ID: 1236618563.436851.17421.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 937402 by chani:

more accurate disconnect


 M  +1 -1      desktop.cpp  


--- trunk/KDE/kdebase/workspace/plasma/containments/screensaver/desktop.cpp #937401:937402
@@ -71,7 +71,7 @@
     //re-wire the lock action so we can check for a password
     QAction *lock = action("lock widgets");
     if (lock) {
-        lock->disconnect(this);
+        lock->disconnect(SIGNAL(triggered(bool)));
         connect(lock, SIGNAL(triggered(bool)), this, SLOT(toggleLock()));
         lock->setText(unlocked ? i18n("Lock") : i18n("Unlock"));
         addToolBoxAction(lock);
[prev in list] [next in list] [prev in thread] [next in thread] 

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