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

List:       kde-commits
Subject:    KDE/kdebase/workspace/powerdevil/daemon
From:       Dario Freddi <drf () kde ! org>
Date:       2011-01-16 23:53:13
Message-ID: 20110116235313.9679FAC8B5 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1214941 by dafre:

BUG: 262483

Differently from the previous version, now power profiles can be valid even if they \
have no groups in them: change the code to reflect this change.

 M  +1 -1      powerdevilcore.cpp  


--- trunk/KDE/kdebase/workspace/powerdevil/daemon/powerdevilcore.cpp #1214940:1214941
@@ -315,7 +315,7 @@
     // Now, let's retrieve our profile
     KConfigGroup config(m_profilesConfig, id);
 
-    if (!config.isValid() || config.groupList().isEmpty()) {
+    if (!config.isValid()) {
         emitNotification("powerdevilerror", i18n("The profile \"%1\" has been \
                selected, "
                          "but it does not exist.\nPlease check your PowerDevil \
configuration.",  id), "dialog-error");


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

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