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

List:       kde-commits
Subject:    koffice/libs/kofficecore
From:       Pascal Létourneau <pascal.letourneau () kdemail ! net>
Date:       2006-07-18 16:56:55
Message-ID: 1153241815.718835.10945.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 563851 by pletourn:

directory(false) -> directory(KUrl::AppendTrailingSlash)
A check will be later added to KUrl


 M  +1 -1      KoDocument.cpp  


--- trunk/koffice/libs/kofficecore/KoDocument.cpp #563850:563851
@@ -1315,7 +1315,7 @@
     {
         KUrl url = KUrl::fromPath( path );
         Q_ASSERT( url.isLocalFile() );
-        QString dir = url.directory(false);
+        QString dir = url.directory(KUrl::AppendTrailingSlash);
         QString filename = url.fileName();
         return dir + "." + filename + ".autosave" + extension;
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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