- QString::isNull -> QString::isEmpty

svn path=/trunk/KDE/kdebase/apps/; revision=1092333
This commit is contained in:
Darío Andrés Rodríguez 2010-02-18 18:31:09 +00:00
parent 2d26a172cf
commit 18f276948c
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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);