Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
f7db9a602a83b05ccad6ac33a2ab63acf3367481
Description
lupdate is confused by non-empty #define statements which immediately follow the opening of a namespace
e.g., make ts-de in Qt Creator 2.1 prints:
filenamevalidatinglineedit.cpp:95: tr() cannot be called without context
filenamevalidatinglineedit.cpp:104: tr() cannot be called without context
filenamevalidatinglineedit.cpp:106: tr() cannot be called without context
filenamevalidatinglineedit.cpp:117: tr() cannot be called without context
filenamevalidatinglineedit.cpp:128: tr() cannot be called without context