summaryrefslogtreecommitdiffstats
path: root/pyuic3/uic.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-05-24 23:28:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-05-24 23:28:08 +0900
commit989e3c1dc427142cfa8ff7f718ec7eb12a13c12f (patch)
treeb2f5a2ae940b9a7ca5a78a81da5b1c6e3befe2bf /pyuic3/uic.cpp
parentae59056eb2dcf9a20c2935e869150aca386d27f1 (diff)
downloadpytqt-989e3c1d.tar.gz
pytqt-989e3c1d.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'pyuic3/uic.cpp')
-rw-r--r--pyuic3/uic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuic3/uic.cpp b/pyuic3/uic.cpp
index ea483a4..ac6af9b 100644
--- a/pyuic3/uic.cpp
+++ b/pyuic3/uic.cpp
@@ -315,7 +315,7 @@ bool Uic::isFrameworkCodeGenerated( const TQDomElement& e )
{
TQDomElement n = getObjectProperty( e, "frameworkCode" );
if ( n.attribute("name") == "frameworkCode" &&
- !DomTool::elementToVariant( n.firstChild().toElement(), TQVariant( TRUE, 0 ) ).toBool() )
+ !DomTool::elementToVariant( n.firstChild().toElement(), TQVariant( TRUE ) ).toBool() )
return FALSE;
return TRUE;
}