diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-23 22:57:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-23 22:57:29 +0900 |
commit | cfc76de73cecd5c569cbec280fe8aaa680956df3 (patch) | |
tree | 294561f215a17658f23eac128312542ab30721f1 /tools/designer/plugins/dlg | |
parent | e9567cacadf2fdc305f3ddbebce43ef395368c51 (diff) | |
download | tqt3-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/plugins/dlg')
-rw-r--r-- | tools/designer/plugins/dlg/dlg2ui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/designer/plugins/dlg/dlg2ui.cpp b/tools/designer/plugins/dlg/dlg2ui.cpp index e44c285f2..23e18063e 100644 --- a/tools/designer/plugins/dlg/dlg2ui.cpp +++ b/tools/designer/plugins/dlg/dlg2ui.cpp @@ -718,7 +718,7 @@ void Dlg2Ui::emitWidgetBody( const TQDomElement& e, bool layouted ) if ( tagName == TQString("Style") ) { if ( getTextValue(n) == TQString("ReadWrite") ) emitProperty( TQString("editable"), - TQVariant(TRUE, 0) ); + TQVariant(true) ); } } else if ( parentTagName == TQString("DlgWidget") ) { if ( tagName == TQString("Name") ) { @@ -891,7 +891,7 @@ TQVariant Dlg2Ui::getValue( const TQDomElement& e, const TQString& tagName, if ( type == TQString("integer") ) { return getTextValue( e ).toInt(); } else if ( type == TQString("boolean") ) { - return TQVariant( isTrue(getTextValue(e)), 0 ); + return TQVariant( isTrue(getTextValue(e)) ); } else if ( type == TQString("double") ) { return getTextValue( e ).toDouble(); } else if ( type == TQString("qcstring") ) { |