summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lupdate/tst_lupdate.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-06 13:11:42 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-06 18:16:21 (GMT)
commit79f1414fabe097d1fb87b2f3153dcde910e0b2cb (patch)
tree83dea0ee6e3233a02ad41378c60759d3a8846197 /tests/auto/linguist/lupdate/tst_lupdate.cpp
parent9e6104565cbe2ae7559791fa6e4787d890477588 (diff)
downloadQt-79f1414fabe097d1fb87b2f3153dcde910e0b2cb.zip
Qt-79f1414fabe097d1fb87b2f3153dcde910e0b2cb.tar.gz
Qt-79f1414fabe097d1fb87b2f3153dcde910e0b2cb.tar.bz2
no point in specifying -ts when a .pro file is specified
... unless of course one hits this weird lupdate behavior regarding SUBDIRS in conjunction with -ts. just use the flag for this one test for now.
Diffstat (limited to 'tests/auto/linguist/lupdate/tst_lupdate.cpp')
-rw-r--r--tests/auto/linguist/lupdate/tst_lupdate.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/auto/linguist/lupdate/tst_lupdate.cpp b/tests/auto/linguist/lupdate/tst_lupdate.cpp
index 7140ede..e880eed 100644
--- a/tests/auto/linguist/lupdate/tst_lupdate.cpp
+++ b/tests/auto/linguist/lupdate/tst_lupdate.cpp
@@ -197,9 +197,8 @@ void tst_lupdate::good()
file.close();
}
- if (lupdatecmd.isEmpty()) {
- lupdatecmd = QLatin1String("project.pro -ts project.ts");
- }
+ if (lupdatecmd.isEmpty())
+ lupdatecmd = QLatin1String("project.pro");
lupdatecmd.prepend("-silent ");
m_lupdate.updateProFile(lupdatecmd);