summaryrefslogtreecommitdiffstats
path: root/pyuic3/form.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-05-24 23:28:08 +0900
committerMichele Calgaro <[email protected]>2019-05-24 23:28:08 +0900
commit989e3c1dc427142cfa8ff7f718ec7eb12a13c12f (patch)
treeb2f5a2ae940b9a7ca5a78a81da5b1c6e3befe2bf /pyuic3/form.cpp
parentae59056eb2dcf9a20c2935e869150aca386d27f1 (diff)
downloadpytqt-989e3c1dc427142cfa8ff7f718ec7eb12a13c12f.tar.gz
pytqt-989e3c1dc427142cfa8ff7f718ec7eb12a13c12f.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'pyuic3/form.cpp')
-rw-r--r--pyuic3/form.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuic3/form.cpp b/pyuic3/form.cpp
index 3ef0c04..df2636d 100644
--- a/pyuic3/form.cpp
+++ b/pyuic3/form.cpp
@@ -518,7 +518,7 @@ void Uic::createFormImpl( const TQDomElement &e )
TQString label = DomTool::readAttribute( n, "title", "", comment ).toString();
out << indent << "self.addPage(" << page << ",TQString(\"\"))" << endl;
trout << trindent << "self.setTitle(" << page << ","<< trcall( label, comment ) << ")" << 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" ) )