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

List:       kde-commits
Subject:    KDE/kdepim/mobile/lib
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2010-12-01 11:39:32
Message-ID: 20101201113932.D1D41AC8A3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1202564 by tokoe:

Force groups to be removed from the KConfig object.

Otherwise they will be reread from the shared config object
and therefor reappear in the Favorites manager view.

BUG: 252854


 M  +1 -0      favoriteslistmodel.cpp  


--- trunk/KDE/kdepim/mobile/lib/favoriteslistmodel.cpp #1202563:1202564
@@ -85,6 +85,7 @@
   KConfigGroup group = mConfig->group( "FavoriteGeneral" );
   group.writeEntry( "Order", favsList );
   mConfig->sync();
+  mConfig->reparseConfiguration(); // needed to make sure that the groups got really \
removed from the KConfig object  }
 
 void FavoritesListModel::moveUp( int row )


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

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