summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/uilib/qwidgetfactory.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-05-26 17:01:21 +0200
committerSlávek Banko <[email protected]>2019-05-26 17:01:21 +0200
commit5fcb1d91b4f52ab609864968a7320eb276f6c068 (patch)
tree68b06e9aae62d253e11bee1794e440fdff1f2f10 /kdevdesigner/uilib/qwidgetfactory.cpp
parent5c2e2bba886fb5aca2abead9bfc2b1d15216d229 (diff)
downloadtdevelop-5fcb1d91b4f52ab609864968a7320eb276f6c068.tar.gz
tdevelop-5fcb1d91b4f52ab609864968a7320eb276f6c068.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kdevdesigner/uilib/qwidgetfactory.cpp')
-rw-r--r--kdevdesigner/uilib/qwidgetfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdevdesigner/uilib/qwidgetfactory.cpp b/kdevdesigner/uilib/qwidgetfactory.cpp
index 56649616..c431253e 100644
--- a/kdevdesigner/uilib/qwidgetfactory.cpp
+++ b/kdevdesigner/uilib/qwidgetfactory.cpp
@@ -626,7 +626,7 @@ void TQWidgetFactory::unpackVariant( const UibStrTable& strings, TQDataStream& i
break;
case TQVariant::Bool:
in >> bit;
- value = TQVariant( bit != 0, 0 );
+ value = TQVariant( bit != 0 );
break;
case TQVariant::Double:
in >> value.asDouble();