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

List:       kde-commits
Subject:    KDE_3_0_BRANCH: kdelibs/kio/kfile
From:       Scott Wheeler <scott () slackorama ! net>
Date:       2002-09-09 12:49:47
[Download RAW message or body]


kdelibs/kio/kfile kfiledialog.cpp,1.296.2.3,1.296.2.4
Author: wheeler


Modified Files:
         kfiledialog.cpp
Log Message:
CCMAIL: seeger@sitewaerts.de
Backported the fix in HEAD that I did a while back to BRANCH.  This
fixes bug #43299 in HEAD and BRANCH.

(Felix: Sorry it took me so long to get around to this.)

Index: kfiledialog.cpp
===================================================================
RCS file: /home/kde/kdelibs/kio/kfile/kfiledialog.cpp,v
retrieving revision 1.296.2.3
diff -u -3 -p -r1.296.2.3 kfiledialog.cpp
--- kfiledialog.cpp     2002/05/02 17:26:22     1.296.2.3
+++ kfiledialog.cpp     2002/09/09 12:46:38
@@ -1180,6 +1180,8 @@ void KFileDialog::dirCompletion( const Q
         QString complete = ops->makeDirCompletion( url.fileName(false) );

         if (!complete.isNull()) {
+           if(!base.endsWith("/"))
+               base.append('/');
            QString newText = base + complete;
            QString fileProt = QString::fromLatin1( "file:" );
            if ( dir.startsWith( fileProt ) != newText.startsWith( fileProt ))


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

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