mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
- Added explanation to avoid a future commit breaking this...
svn path=/trunk/KDE/kdebase/apps/; revision=1099017
This commit is contained in:
parent
0552cd6482
commit
42cd6d871f
1 changed files with 2 additions and 0 deletions
|
@ -418,6 +418,8 @@ void KQuery::processQuery( const KFileItem &file)
|
|||
QString str = stream->readLine();
|
||||
matchingLineNumber++;
|
||||
|
||||
//If the stream ended (readLine().isNull() is true) the file was read completely
|
||||
//Do *not* use isEmpty() because that will exit if there is an empty line in the file
|
||||
if (str.isNull()) break;
|
||||
if(isZippedOfficeDocument)
|
||||
str.remove(xmlTags);
|
||||
|
|
Loading…
Reference in a new issue