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

List:       kde-commits
Subject:    KDE/kdenetwork/kppp
From:       Laurent Montel <montel () kde ! org>
Date:       2006-01-03 15:25:33
Message-ID: 1136301933.778057.14846.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 493889 by mlaurent:

readBoolEntry--

 M  +2 -2      pppdata.cpp  


--- trunk/KDE/kdenetwork/kppp/pppdata.cpp #493888:493889
@@ -1418,7 +1418,7 @@
 
   if(config) {
     config->setGroup(GRAPH_GRP);
-    enable = config->readBoolEntry(GENABLED, true);
+    enable = config->readEntry(GENABLED, QVariant(true)).toBool();
     c = Qt::white;
     bg = config->readColorEntry(GCOLOR_BG, &c);
     c = Qt::black;
@@ -1434,7 +1434,7 @@
 bool PPPData::graphingEnabled() {
   if(config) {
     config->setGroup(GRAPH_GRP);
-    return config->readBoolEntry(GENABLED, true);
+    return config->readEntry(GENABLED, QVariant(true)).toBool();
   }
   else return true;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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