From kde-commits Sat Nov 28 00:55:46 2009 From: David Faure Date: Sat, 28 Nov 2009 00:55:46 +0000 To: kde-commits Subject: branches/KDE/4.3/kdebase/apps/konqueror/settings/konq Message-Id: <1259369746.836372.11970.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=125936975212897 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...