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

List:       kde-commits
Subject:    branches/KDE/3.5/kdebase/konqueror
From:       Pascal Létourneau <pletourn () globetrotter ! net>
Date:       2005-08-05 19:15:26
Message-ID: 1123269326.531450.16494.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 443310 by pletourn:

If a fileName exits, don't try to detect a name filter


 M  +1 -1      konq_mainwindow.cc  


--- branches/KDE/3.5/kdebase/konqueror/konq_mainwindow.cc #443309:443310
@@ -424,7 +424,7 @@
         QString fileName = path.mid( lastSlash + 1 );
         QString testPath = path.left( lastSlash + 1 );
         if ( ( fileName.find( '*' ) != -1 || fileName.find( '[' ) != -1 || \
                fileName.find( '?' ) != -1 )
-             && ( !url.isLocalFile() || QFile::exists( testPath ) ) )
+             && ( !url.isLocalFile() || QFile::exists( testPath ) ) && \
!KIO::NetAccess::exists( url, true ) )  {
             nameFilter = fileName;
             url.setFileName( QString::null );


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

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