summaryrefslogtreecommitdiffstats
path: root/examples/uitools
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-02-01 09:28:00 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-02-01 09:28:00 (GMT)
commita788f7e3a04ec741d59ef458a40e39d918dc1df0 (patch)
treed604e4f206473b125c335b61487d833fd0926af4 /examples/uitools
parentf3da2f414f9fce9aa014da79be9f50c075c60936 (diff)
downloadQt-a788f7e3a04ec741d59ef458a40e39d918dc1df0.zip
Qt-a788f7e3a04ec741d59ef458a40e39d918dc1df0.tar.gz
Qt-a788f7e3a04ec741d59ef458a40e39d918dc1df0.tar.bz2
Designer/uic/related examples: Fix source code scanning issues II.
Fix spelling errors, foreach()/QString usage, explicit constructors. Reviewed-By: Joerg Bornemann <joerg.bornemann@trolltech.com>
Diffstat (limited to 'examples/uitools')
-rw-r--r--examples/uitools/textfinder/textfinder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/uitools/textfinder/textfinder.cpp b/examples/uitools/textfinder/textfinder.cpp
index 855f11f..1b7c14b 100644
--- a/examples/uitools/textfinder/textfinder.cpp
+++ b/examples/uitools/textfinder/textfinder.cpp
@@ -116,7 +116,7 @@ void TextFinder::on_findButton_clicked()
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 {