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

List:       kde-commits
Subject:    kdereview/autostart
From:       Stephen Leaf <smileaf () smileaf ! org>
Date:       2007-07-24 19:10:44
Message-ID: 1185304244.186556.29408.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 691976 by smileaf:

don't move the file unless it really needs to be moved.

 M  +1 -0      autostart.cpp  


--- trunk/kdereview/autostart/autostart.cpp #691975:691976
@@ -53,6 +53,7 @@
 }
 bool isDesktop() { return bisDesktop; }
 void setPath(const QString &path) {
+	if (path == fileName.directory(KUrl::AppendTrailingSlash)) return;
 	KIO::move(fileName, KUrl( path + '/' + fileName.fileName() ));
 	fileName = KUrl(path + fileName.fileName());
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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