diff -r 41300fa6a67c -r 2f34d5167611 examples/uitools/textfinder/textfinder.cpp --- a/examples/uitools/textfinder/textfinder.cpp Tue Feb 02 00:43:10 2010 +0200 +++ b/examples/uitools/textfinder/textfinder.cpp Fri Apr 16 15:50:13 2010 +0300 @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** @@ -116,7 +116,7 @@ if (isFirstTime == false) document->undo(); - if (searchString == "") { + if (searchString.isEmpty()) { QMessageBox::information(this, tr("Empty Search Field"), "The search field is empty. Please enter a word and click Find."); } else {