diff options
Diffstat (limited to 'tools/designer/uilib/qwidgetfactory.cpp')
-rw-r--r-- | tools/designer/uilib/qwidgetfactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/uilib/qwidgetfactory.cpp b/tools/designer/uilib/qwidgetfactory.cpp index a0bc08523..6d9014469 100644 --- a/tools/designer/uilib/qwidgetfactory.cpp +++ b/tools/designer/uilib/qwidgetfactory.cpp @@ -637,7 +637,7 @@ void TQWidgetFactory::unpackVariant( const UibStrTable& strings, TQDataStream& i break; case TQVariant::Bool: in >> bit; - value = TQVariant( bit != 0, 0 ); + value = TQVariant( bit != 0 ); break; case TQVariant::Double: in >> value.asDouble(); |