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

List:       kde-commits
Subject:    KDE/kdebase/workspace/powerdevil/kcmodule/profiles
From:       Dario Freddi <drf () kde ! org>
Date:       2011-01-07 13:51:54
Message-ID: 20110107135154.8C333AC8B6 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212576 by dafre:

Add some debug messages to the kcm

 M  +3 -0      EditPage.cpp  


--- trunk/KDE/kdebase/workspace/powerdevil/kcmodule/profiles/EditPage.cpp #1212575:1212576
@@ -549,14 +549,17 @@
     Q_UNUSED(current)
 
     if (!m_profileEdited) {
+        kDebug() << "Profile has not been edited, switch";
         loadProfile();
     } else {
         if (!previous) {
              // Pass by, the profile has probably been deleted
+            kDebug() << "No previous profile";
             loadProfile();
             return;
         } else if (!m_profilesConfig.data()->groupList().contains(previous->text())) {
             // Pass by, the profile has probably been deleted
+            kDebug() << "No previous profile saved";
             loadProfile();
             return;
         }
[prev in list] [next in list] [prev in thread] [next in thread] 

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