From a2fa7ca9838e204ec41c39fcb80ee82ec93d084f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 27 May 2019 00:31:56 +0900 Subject: Adjusted to latest QVariant::QVariant(bool) function. Signed-off-by: Michele Calgaro --- tools/designer/uic/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/designer/uic/object.cpp') diff --git a/tools/designer/uic/object.cpp b/tools/designer/uic/object.cpp index 00eaa55..20a5400 100644 --- a/tools/designer/uic/object.cpp +++ b/tools/designer/uic/object.cpp @@ -537,7 +537,7 @@ QString Uic::setObjectProperty( const QString& objClass, const QString& obj, con if ( stdset ) v = "%1"; else - v = "QVariant( %1, 0 )"; + v = "QVariant( %1 )"; v = v.arg( mkBool( e.firstChild().toText().data() ) ); } else if ( e.tagName() == "pixmap" ) { v = e.firstChild().toText().data(); -- cgit v1.2.3