From deae55568422b16bd4ed20d4a098b1a826828a2f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 May 2019 01:02:21 +0900 Subject: Adjusted to latest TQVariant::TQVariant(bool) function. Signed-off-by: Michele Calgaro --- puic/form.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'puic/form.cpp') diff --git a/puic/form.cpp b/puic/form.cpp index e54f338..e1e74cc 100644 --- a/puic/form.cpp +++ b/puic/form.cpp @@ -791,7 +791,7 @@ void Uic::createFormImpl( const TQDomElement &e ) TQString label = DomTool::readAttribute( n, "title", "", comment ).toString(); out << indent << "addPage( " << page << ", \"\" );" << endl; trout << indent << "setTitle( " << page << ", " << trcall( label, comment ) << " );" << endl; - TQVariant def( FALSE, 0 ); + TQVariant def( FALSE ); if ( DomTool::hasAttribute( n, "backEnabled" ) ) out << indent << "setBackEnabled(" << page << "," << mkBool( DomTool::readAttribute( n, "backEnabled", def).toBool() ) << ");" << endl; if ( DomTool::hasAttribute( n, "nextEnabled" ) ) -- cgit v1.2.1