mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
- QString::isNull -> QString::isEmpty
svn path=/trunk/KDE/kdebase/apps/; revision=1092333
This commit is contained in:
parent
2d26a172cf
commit
18f276948c
2 changed files with 2 additions and 2 deletions
|
@ -619,7 +619,7 @@ bool KfindTabWidget::isDateValid()
|
|||
else if ( QDate::currentDate() < hi1 )
|
||||
str = i18n("Unable to search dates in the future.");
|
||||
|
||||
if (!str.isNull()) {
|
||||
if (!str.isEmpty()) {
|
||||
KMessageBox::sorry(0, str);
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -418,7 +418,7 @@ void KQuery::processQuery( const KFileItem &file)
|
|||
QString str = stream->readLine();
|
||||
matchingLineNumber++;
|
||||
|
||||
if (str.isNull()) break;
|
||||
if (str.isEmpty()) break;
|
||||
if(isZippedOfficeDocument)
|
||||
str.remove(xmlTags);
|
||||
|
||||
|
|
Loading…
Reference in a new issue