summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteinitialization.h
diff options
context:
space:
mode:
authorJarek Kobus <jkobus@trolltech.com>2009-09-04 08:49:32 (GMT)
committerJarek Kobus <jkobus@trolltech.com>2009-09-04 08:53:13 (GMT)
commit74a88ac9d72ba83965d439eddc99e478762fd524 (patch)
tree69aac02b16979a670d224d89cb847cde823e5d2c /src/tools/uic/cpp/cppwriteinitialization.h
parent92a3662564f421a46761989d153f6c8eb990131f (diff)
downloadQt-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.h1
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;