summaryrefslogtreecommitdiffstats
path: root/examples/uitools/textfinder/textfinder.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2014-01-17 20:14:07 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 13:10:57 +0100
commitcf01d7136fb79ee3f8e8522748b08519f0ea528f (patch)
treeed4021fd66f4da1b164ca27e522da28525b473f7 /examples/uitools/textfinder/textfinder.cpp
parent2f2dd0137982e5894b93ca1770c096c19e3dc46c (diff)
whitespace fixes
remove trailing spaces & expand tabs Change-Id: If9909c94b52d9dacb7c8735470525d18a1c97d6b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'examples/uitools/textfinder/textfinder.cpp')
-rw-r--r--examples/uitools/textfinder/textfinder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/uitools/textfinder/textfinder.cpp b/examples/uitools/textfinder/textfinder.cpp
index ee6dce89c..d32280215 100644
--- a/examples/uitools/textfinder/textfinder.cpp
+++ b/examples/uitools/textfinder/textfinder.cpp
@@ -120,9 +120,9 @@ void TextFinder::on_findButton_clicked()
"The search field is empty. Please enter a word and click Find.");
} else {
- QTextCursor highlightCursor(document);
+ QTextCursor highlightCursor(document);
QTextCursor cursor(document);
-
+
cursor.beginEditBlock();
//! [6]
@@ -149,7 +149,7 @@ void TextFinder::on_findButton_clicked()
if (found == false) {
QMessageBox::information(this, tr("Word Not Found"),
"Sorry, the word cannot be found.");
- }
+ }
}
}
//! [8] //! [9]