[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kfind
From: Eric Coquelle <eric.coquelle () unice ! fr>
Date: 2003-04-30 21:11:42
[Download RAW message or body]
CVS commit by coquelle:
Search inside files should work with old KWord documents
M +17 -16 kquery.cpp 1.25
--- kdebase/kfind/kquery.cpp #1.24:1.25
@@ -238,6 +238,6 @@ void KQuery::processQuery( KFileItem* fi
KZipFileEntry *zipfileEntry;
- if(!zipfile.open(IO_ReadOnly))
- return;
+ if(zipfile.open(IO_ReadOnly))
+ {
const KArchiveDirectory *zipfileContent = zipfile.directory();
@@ -256,5 +256,6 @@ void KQuery::processQuery( KFileItem* fi
isKWordDocument=true;
}
- else
+ }
+ if(!isKWordDocument) //any other file or non-compressed KWord
{
filename = file->url().path();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic