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

List:       kde-commits
Subject:    KDE_3_1_BRANCH: kdelibs/kdecore
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-07-30 10:00:27
[Download RAW message or body]

CVS commit by waba: 

Make getConfigState() work in KConfigGroup as well.


  M +3 -3      kconfigbase.cpp   1.148.2.12


--- kdelibs/kdecore/kconfigbase.cpp  #1.148.2.11:1.148.2.12
@@ -1674,5 +1674,5 @@ KConfigGroup::KConfigGroup(KConfigBase *
 {
   mMaster = master;
-  backEnd = 0;
+  backEnd = mMaster->backEnd; // Needed for getConfigState()
   bLocaleInitialized = true;
   bReadOnly = mMaster->bReadOnly;
@@ -1686,5 +1686,5 @@ KConfigGroup::KConfigGroup(KConfigBase *
 {
   mMaster = master;
-  backEnd = 0;
+  backEnd = mMaster->backEnd; // Needed for getConfigState()
   bLocaleInitialized = true;
   bReadOnly = mMaster->bReadOnly;
@@ -1698,5 +1698,5 @@ KConfigGroup::KConfigGroup(KConfigBase *
 {
   mMaster = master;
-  backEnd = 0;
+  backEnd = mMaster->backEnd; // Needed for getConfigState()
   bLocaleInitialized = true;
   bReadOnly = mMaster->bReadOnly;


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

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