From 5fcb1d91b4f52ab609864968a7320eb276f6c068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 26 May 2019 17:01:21 +0200 Subject: Adjusted to latest TQVariant::TQVariant(bool) function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kdevdesigner/uilib/qwidgetfactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kdevdesigner/uilib') diff --git a/kdevdesigner/uilib/qwidgetfactory.cpp b/kdevdesigner/uilib/qwidgetfactory.cpp index 56649616..c431253e 100644 --- a/kdevdesigner/uilib/qwidgetfactory.cpp +++ b/kdevdesigner/uilib/qwidgetfactory.cpp @@ -626,7 +626,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