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

List:       kde-commits
Subject:    KDE/kdebase/runtime/knetattach
From:       Laurent Montel <montel () kde ! org>
Date:       2007-10-18 13:45:46
Message-ID: 1192715146.544373.26874.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 726656 by mlaurent:

Deprecated-- and duplicate line


 M  +1 -2      knetattach.cpp  


--- trunk/KDE/kdebase/runtime/knetattach/knetattach.cpp #726655:726656
@@ -223,7 +223,6 @@
 	    idx.removeAll(name);
 	    idx.prepend(name);
 	    recent.writeEntry("Index", idx);
-	    recent.changeGroup(name);
 	} else {
 	    QString last;
 	    if (!idx.isEmpty()) {
@@ -234,7 +233,7 @@
 	    _recent.deleteGroup(last);
 	    recent.writeEntry("Index", idx);
 	}
-	recent.changeGroup(name);
+       recent = KConfigGroup(&_recent,name);
 	recent.writeEntry("URL", url.prettyUrl());
 	if (_type == "WebFolder" || _type == "Fish" || _type == "FTP") {
 	    recent.writeEntry("Port", _port->value());
[prev in list] [next in list] [prev in thread] [next in thread] 

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