summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-05 14:19:02 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-06 21:58:01 (GMT)
commit0a1db39ba70060f305e5694d1a12dd3c2e5bca4c (patch)
tree0e5786d7497ac56e2ef0ba2a665c7b0d642a4c62 /tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp
parenta66698f947e8ded2e020defa626b154aca1fde9f (diff)
downloadQt-0a1db39ba70060f305e5694d1a12dd3c2e5bca4c.zip
Qt-0a1db39ba70060f305e5694d1a12dd3c2e5bca4c.tar.gz
Qt-0a1db39ba70060f305e5694d1a12dd3c2e5bca4c.tar.bz2
record id-based messages even if they have an empty source
this makes sense if one uses lupdate only for validation purposes, i.e. to find out if the code uses only ids which are defined in some external specification.
Diffstat (limited to 'tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp')
-rw-r--r--tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp b/tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp
index f27e1f0..5bd7a0a 100644
--- a/tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp
+++ b/tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp
@@ -75,4 +75,8 @@ void FindDialog::reset()
//= new_id
tr("this is just some text");
+
+
+ //: A message without source string
+ qtTrId("qtn_virtual");
}