From 989e3c1dc427142cfa8ff7f718ec7eb12a13c12f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 May 2019 23:28:08 +0900 Subject: Adjusted to latest TQVariant::TQVariant(bool) function. Signed-off-by: Michele Calgaro --- pyuic3/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyuic3/object.cpp') diff --git a/pyuic3/object.cpp b/pyuic3/object.cpp index b4c443b..5ee2b73 100644 --- a/pyuic3/object.cpp +++ b/pyuic3/object.cpp @@ -492,7 +492,7 @@ TQString Uic::setObjectProperty( const TQString& objClass, const TQString& obj, if ( stdset ) v = "%1"; else - v = "TQVariant(%1,0)"; + v = "TQVariant(%1)"; v = v.arg( mkBool( e.firstChild().toText().data() ) ); } else if ( e.tagName() == "pixmap" ) { v = e.firstChild().toText().data(); -- cgit v1.2.3