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

List:       kde-commits
Subject:    branches/KDE/4.3/kdebase/apps/konqueror/settings/konq
From:       David Faure <faure () kde ! org>
Date:       2009-11-28 0:55:46
Message-ID: 1259369746.836372.11970.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1055428 by dfaure:

Don't move the home directory just because some path used to point to it. Don't even offer it ;)
Fixed for: 4.3.4
CCBUG: 193057


 M  +6 -0      globalpaths.cpp  


--- branches/KDE/4.3/kdebase/apps/konqueror/settings/konq/globalpaths.cpp #1055427:1055428
@@ -329,6 +329,12 @@
         return true;
     if (!QFile::exists(src.toLocalFile()))
         return true;
+    // Do not move $HOME! #193057
+    const QString translatedPath = translatePath(src.toLocalFile());
+    if (translatedPath == "$HOME" || translatedPath == "$HOME/") {
+        return true;
+    }
+
     m_ok = true;
     // TODO: check if the src dir is empty? Nothing to move, then...
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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