From kde-commits Wed Oct 03 11:29:51 2007 From: Andras Mantia Date: Wed, 03 Oct 2007 11:29:51 +0000 To: kde-commits Subject: branches/KDE/3.5/kdewebdev/quanta Message-Id: <1191410991.754693.24809.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=119141100007122 SVN commit 720634 by amantia: Fix add to project when saving a new file into a symlinked directory BUG: 148529 M +1 -0 ChangeLog M +5 -0 project/project.cpp --- branches/KDE/3.5/kdewebdev/quanta/ChangeLog #720633:720634 @@ -3,6 +3,7 @@ Version 3.5.8 (Release date: 07-10-2006) - bugfixes: - fix recursive symlink handling [#145651] + - fix add to project when saving a new file into a symlinked directory [#148529] Version 3.5.7 (Release date: xx-xx-2006; Started 06-02-2006) --- branches/KDE/3.5/kdewebdev/quanta/project/project.cpp #720633:720634 @@ -122,6 +122,11 @@ urlRequesterDlg->urlRequester()->setMode( KFile::Directory | KFile::ExistingOnly); urlRequesterDlg->exec(); KURL destination = urlRequesterDlg->selectedURL(); + if (destination.isLocalFile()) + { + QDir dir(destination.path()); + destination.setPath(dir.canonicalPath()); + } delete urlRequesterDlg; if ( !destination.isEmpty() ) {