From 56c8184edb6fcc7ed28f139739d551c02831e1fa Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 27 Jan 2012 18:24:16 -0600 Subject: Automated update --- tools/designer/uic/uic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/designer/uic') 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 + "\" )"; -- cgit v1.2.1