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

List:       kde-commits
Subject:    KDE/kdeutils/kwallet/konfigurator
From:       Laurent Montel <montel () kde ! org>
Date:       2007-06-27 18:20:16
Message-ID: 1182968416.068051.936.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 681012 by mlaurent:

Deprecated--


 M  +4 -4      konfigurator.cpp  


--- trunk/KDE/kdeutils/kwallet/konfigurator/konfigurator.cpp #681011:681012
@@ -262,7 +262,7 @@
 	// FIXME: won't survive a language change
 	_cfg->deleteGroup("Auto Allow");
 	_cfg->deleteGroup("Auto Deny");
-	_cfg->setGroup("Auto Allow");
+	config  = _cfg->group("Auto Allow");
 	for (Q3ListViewItem *i = _wcw->_accessList->firstChild(); i; i = i->nextSibling()) {
 		QStringList al;
 		for (Q3ListViewItem *j = i->firstChild(); j; j = j->nextSibling()) {
@@ -270,10 +270,10 @@
 				al << j->text(1);
 			}
 		}
-		_cfg->writeEntry(i->text(0), al);
+		config.writeEntry(i->text(0), al);
 	}
 
-	_cfg->setGroup("Auto Deny");
+	config = _cfg->group("Auto Deny");
 	for (Q3ListViewItem *i = _wcw->_accessList->firstChild(); i; i = i->nextSibling()) {
 		QStringList al;
 		for (Q3ListViewItem *j = i->firstChild(); j; j = j->nextSibling()) {
@@ -281,7 +281,7 @@
 				al << j->text(1);
 			}
 		}
-		_cfg->writeEntry(i->text(0), al);
+		config.writeEntry(i->text(0), al);
 	}
 
 	_cfg->sync();
[prev in list] [next in list] [prev in thread] [next in thread] 

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