diff options
author | Jarek Kobus <jkobus@trolltech.com> | 2009-09-04 08:49:32 (GMT) |
---|---|---|
committer | Jarek Kobus <jkobus@trolltech.com> | 2009-09-04 08:53:13 (GMT) |
commit | 74a88ac9d72ba83965d439eddc99e478762fd524 (patch) | |
tree | 69aac02b16979a670d224d89cb847cde823e5d2c /src/tools/uic/cpp/cppwriteinitialization.h | |
parent | 92a3662564f421a46761989d153f6c8eb990131f (diff) | |
download | Qt-74a88ac9d72ba83965d439eddc99e478762fd524.zip Qt-74a88ac9d72ba83965d439eddc99e478762fd524.tar.gz Qt-74a88ac9d72ba83965d439eddc99e478762fd524.tar.bz2 |
Generate Q_UNUSED(varName) only when varName was not used in retranslateUi(Class varName) method.
Autotests for uic updated accordingly
Task: 260784
RevBy: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.h')
-rw-r--r-- | src/tools/uic/cpp/cppwriteinitialization.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/uic/cpp/cppwriteinitialization.h b/src/tools/uic/cpp/cppwriteinitialization.h index 19e4fc7..b0564d0 100644 --- a/src/tools/uic/cpp/cppwriteinitialization.h +++ b/src/tools/uic/cpp/cppwriteinitialization.h @@ -350,6 +350,7 @@ private: QString m_generatedClass; QString m_mainFormVarName; + bool m_mainFormUsedInRetranslateUi; QString m_delayedInitialization; QTextStream m_delayedOut; |