examples/uitools/textfinder/textfinder.cpp
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
--- a/examples/uitools/textfinder/textfinder.cpp	Fri Feb 19 23:40:16 2010 +0200
+++ b/examples/uitools/textfinder/textfinder.cpp	Fri Mar 12 15:46:37 2010 +0200
@@ -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 {