diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-07-13 16:20:44 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-07-13 16:51:21 +0200 |
commit | e2f381365bf2158095c5c7236fc4b2f842b9fa8c (patch) | |
tree | 5bf317515ed903054c1f2df5bfb41b2356f76273 /tests/auto/linguist/lupdate/testdata/good/proparsingpaths/sub/subfilter.cpp | |
parent | 45efa082135cbf97820a5ce7025685d22bd926ce (diff) |
implement proper vpath handling
this also removes the bogus special casing of various
filename-containing variables inside the pro parser.
while this is a feature as such, it restores backwards compatibility
without damaging the correct behavior again, so it qualifies for 4.5.
based on a2f40fce2a1cf3c19a13fa27eea08192493ab76e from creator
Task-number: 254098
Diffstat (limited to 'tests/auto/linguist/lupdate/testdata/good/proparsingpaths/sub/subfilter.cpp')
-rw-r--r-- | tests/auto/linguist/lupdate/testdata/good/proparsingpaths/sub/subfilter.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/linguist/lupdate/testdata/good/proparsingpaths/sub/subfilter.cpp b/tests/auto/linguist/lupdate/testdata/good/proparsingpaths/sub/subfilter.cpp new file mode 100644 index 0000000000..6e5dd25c6f --- /dev/null +++ b/tests/auto/linguist/lupdate/testdata/good/proparsingpaths/sub/subfilter.cpp @@ -0,0 +1,9 @@ +// IMPORTANT!!!! If you want to add testdata to this file, +// always add it to the end in order to not change the linenumbers of translations!!! + + +void func1() { + QApplication::tr("Hello world", "nested direct"); +} + + |