summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-08-19 17:41:50 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-27 13:41:48 +0200
commiteb9aec66752148c812c271c9a8de576d13fa15cc (patch)
treeb8c37c497d3a156d78bafc3ef6a09ac6b3ef02f3
parente83e456eaaa482c444a08ad1d314fde9f00239e0 (diff)
downloadqttools-eb9aec66752148c812c271c9a8de576d13fa15cc.tar.gz
search translator comments of every translation
Change-Id: I45ce7c0d22826ec9d383da65a8018356569ebd3a Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rw-r--r--src/linguist/linguist/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linguist/linguist/mainwindow.cpp b/src/linguist/linguist/mainwindow.cpp
index a1762edf0..3479ed1d8 100644
--- a/src/linguist/linguist/mainwindow.cpp
+++ b/src/linguist/linguist/mainwindow.cpp
@@ -1003,13 +1003,13 @@ void MainWindow::findAgain()
break;
if (searchItem(DataModel::Comments, m->extraComment()))
break;
- if (searchItem(DataModel::Comments, m->translatorComment()))
- break;
}
// Note: we do not look into plurals on grounds of them not
// containing anything much different from the singular.
if (searchItem(DataModel::Translations, m->translation()))
break;
+ if (searchItem(DataModel::Comments, m->translatorComment()))
+ break;
found = false;
// did not find the search string in this message
} while (0);