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

List:       kde-commits
Subject:    branches/KDE/3.5/kdewebdev/quanta
From:       Andras Mantia <amantia () kde ! org>
Date:       2007-10-03 11:29:51
Message-ID: 1191410991.754693.24809.nullmailer () svn ! kde ! org
[Download RAW message or body]

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() )
     {
[prev in list] [next in list] [prev in thread] [next in thread] 

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