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

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

SVN commit 443311 by pletourn:

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

BUG:110227
BUG:107170


 M  +1 -1      konq_mainwindow.cc  


--- branches/KDE/3.4/kdebase/konqueror/konq_mainwindow.cc #443310:443311
@@ -428,7 +428,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