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 --- pyuic2/uic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyuic2/uic.cpp') diff --git a/pyuic2/uic.cpp b/pyuic2/uic.cpp index 58db033..a140ae3 100644 --- a/pyuic2/uic.cpp +++ b/pyuic2/uic.cpp @@ -432,7 +432,7 @@ void Uic::createFormImpl( const TQDomElement &e ) TQString page = createObjectImpl( n, objClass, "self" ); TQString label = DomTool::readAttribute( n, "title", "" ).toString(); out << indent << "self.addPage(" << page << ","<< trmacro << "(" << fixString( label ) << "))" << endl; - TQVariant def( FALSE, 0 ); + TQVariant def( FALSE ); if ( DomTool::hasAttribute( n, "backEnabled" ) ) out << indent << "self.setBackEnabled(" << page << "," << mkBool( DomTool::readAttribute( n, "backEnabled", def).toBool() ) << ")" << endl; if ( DomTool::hasAttribute( n, "nextEnabled" ) ) -- cgit v1.2.3