summaryrefslogtreecommitdiffstats
path: root/tools/designer/uic/form.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-05-23 22:57:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-05-23 22:57:29 +0900
commitcfc76de73cecd5c569cbec280fe8aaa680956df3 (patch)
tree294561f215a17658f23eac128312542ab30721f1 /tools/designer/uic/form.cpp
parente9567cacadf2fdc305f3ddbebce43ef395368c51 (diff)
downloadtqt3-cfc76de73cecd5c569cbec280fe8aaa680956df3.tar.gz
tqt3-cfc76de73cecd5c569cbec280fe8aaa680956df3.zip
Removed dummy int parameter from TQVariant(bool, int).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/designer/uic/form.cpp')
-rw-r--r--tools/designer/uic/form.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/uic/form.cpp b/tools/designer/uic/form.cpp
index 5c564c9dd..198f2c089 100644
--- a/tools/designer/uic/form.cpp
+++ b/tools/designer/uic/form.cpp
@@ -1052,7 +1052,7 @@ void Uic::createFormImpl( const TQDomElement &e )
TQString label = DomTool::readAttribute( n, "title", "", comment ).toString();
out << indent << "addPage( " << page << ", TQString(\"\") );" << 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" ) )