From cfc76de73cecd5c569cbec280fe8aaa680956df3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 May 2019 22:57:29 +0900 Subject: Removed dummy int parameter from TQVariant(bool, int). Signed-off-by: Michele Calgaro --- src/kernel/qucomextra.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/qucomextra.cpp') diff --git a/src/kernel/qucomextra.cpp b/src/kernel/qucomextra.cpp index 1bb064ca8..53af84dee 100644 --- a/src/kernel/qucomextra.cpp +++ b/src/kernel/qucomextra.cpp @@ -85,7 +85,7 @@ bool TQUType_TQVariant::convertFrom( TQUObject *o, TQUType *t ) else if ( isEqual( o->type, &static_QUType_int ) ) var = new TQVariant( static_QUType_int.get( o ) ); else if ( isEqual( o->type, &static_QUType_bool ) ) - var = new TQVariant( static_QUType_bool.get( o ), 42 ); + var = new TQVariant( static_QUType_bool.get( o ) ); else if ( isEqual( o->type, &static_QUType_double ) ) var = new TQVariant( static_QUType_double.get( o ) ); else if ( isEqual( o->type, &static_QUType_charstar ) ) -- cgit v1.2.1