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

List:       kde-commits
Subject:    KDE/kdebase/apps/kfind
From:       Darío Andrés Rodríguez <andresbajotierra () gmail ! co
Date:       2009-03-08 22:32:41
Message-ID: 1236551561.885053.6415.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 937053 by darioandres:

Better way to do svn commit 937050
 


 M  +1 -3      kquery.cpp  


--- trunk/KDE/kdebase/apps/kfind/kquery.cpp #937052:937053
@@ -336,9 +336,7 @@
            kWarning() << "Cannot open supposed ZIP file " << file.url() ;
          }
        } else if( !m_search_binary && !file.mimetype().startsWith("text/") &&
-           file.url().isLocalFile() ) {
-           
-         if ( !file.url().path().startsWith("/dev") ) //Skip /dev files (isBinaryData reads from it)
+           file.url().isLocalFile() && !file.url().path().startsWith("/dev") ) {
          if ( KMimeType::isBinaryData(file.url().path()) ) {
            kDebug() << "ignoring, not a text file: " << file.url();
            return;
[prev in list] [next in list] [prev in thread] [next in thread] 

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