diff options
Diffstat (limited to 'tools/designer/uic')
-rw-r--r-- | tools/designer/uic/uic.cpp | 2 |
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 + "\" )"; |