summaryrefslogtreecommitdiffstats
path: root/tools/designer/uic
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-27 18:24:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-27 18:24:16 -0600
commit56c8184edb6fcc7ed28f139739d551c02831e1fa (patch)
treeba330f5ce42785f9a470d82d5b3fe5693669f74c /tools/designer/uic
parentea318d1431c89e647598c510c4245c6571aa5f46 (diff)
downloadtqt3-56c8184edb6fcc7ed28f139739d551c02831e1fa.tar.gz
tqt3-56c8184edb6fcc7ed28f139739d551c02831e1fa.zip
Automated update
Diffstat (limited to 'tools/designer/uic')
-rw-r--r--tools/designer/uic/uic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/uic/uic.cpp b/tools/designer/uic/uic.cpp
index 59a9a1d1d..305f7133e 100644
--- a/tools/designer/uic/uic.cpp
+++ b/tools/designer/uic/uic.cpp
@@ -1114,7 +1114,7 @@ TQStringList Uic::unique( const TQStringList& list )
TQString Uic::createObjectInstance( const TQString& objClass, const TQString& parent, const TQString& objName )
{
- if ( objClass.mid( 1 ) == "ComboBox" ) {
+ if (( objClass.mid( 1 ) == "ComboBox" ) || ( objClass.mid( 2 ) == "ComboBox" )) {
return objClass + "( FALSE, " + parent + ", \"" + objName + "\" )";
}
return objClass + "( " + parent + ", \"" + objName + "\" )";