diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-26 00:37:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-26 00:37:52 +0900 |
commit | 9055b21d6a4e7da5a959336eec39471b63490ee3 (patch) | |
tree | 2e164be46f1dc26250a649eeb151f2e05be1d9a7 /qtruby/rubylib/designer/rbuic/form.cpp | |
parent | 4fd9c591139bcdabe1cc290385bc5767b37b5ed5 (diff) | |
download | tdebindings-9055b21d6a4e7da5a959336eec39471b63490ee3.tar.gz tdebindings-9055b21d6a4e7da5a959336eec39471b63490ee3.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtruby/rubylib/designer/rbuic/form.cpp')
-rw-r--r-- | qtruby/rubylib/designer/rbuic/form.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtruby/rubylib/designer/rbuic/form.cpp b/qtruby/rubylib/designer/rbuic/form.cpp index 937c32eb..8d30b0d7 100644 --- a/qtruby/rubylib/designer/rbuic/form.cpp +++ b/qtruby/rubylib/designer/rbuic/form.cpp @@ -625,7 +625,7 @@ void Uic::createFormImpl( const TQDomElement &e ) TQString label = DomTool::readAttribute( n, "title", "", comment ).toString(); out << indent << "addPage(" << page << ", "<< trcall( label ) << ")" << 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" ) ) |