diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-06-07 17:54:51 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-06-07 17:59:17 (GMT) |
commit | f343c6efac717e3a58d74614c7eb0b84ed380099 (patch) | |
tree | fc00a95c731156bffa1af064578dfa3f501c2ea2 /tools/linguist | |
parent | 66e4bcd6249477f5a1e05911443c9a8e73f18738 (diff) | |
download | Qt-f343c6efac717e3a58d74614c7eb0b84ed380099.zip Qt-f343c6efac717e3a58d74614c7eb0b84ed380099.tar.gz Qt-f343c6efac717e3a58d74614c7eb0b84ed380099.tar.bz2 |
fix translations from some header files being omitted
add the containing directories of all files specified on the command
line to the list of project roots. otherwise, the strings from headers
which are included before being encountered on the command line will be
omitted.
Task-number: QTBUG-10345
Diffstat (limited to 'tools/linguist')
-rw-r--r-- | tools/linguist/lupdate/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/linguist/lupdate/main.cpp b/tools/linguist/lupdate/main.cpp index b2bfd7c..274e33c 100644 --- a/tools/linguist/lupdate/main.cpp +++ b/tools/linguist/lupdate/main.cpp @@ -627,6 +627,7 @@ int main(int argc, char **argv) } } else { sourceFiles << QDir::cleanPath(fi.absoluteFilePath());; + projectRoots.insert(fi.absolutePath() + QLatin1Char('/')); } numFiles++; } |