From cfc76de73cecd5c569cbec280fe8aaa680956df3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 May 2019 22:57:29 +0900 Subject: Removed dummy int parameter from TQVariant(bool, int). Signed-off-by: Michele Calgaro --- tools/designer/uilib/qwidgetfactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/designer/uilib') 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(); -- cgit v1.2.1