From 352c8f6a2190a65107a30c42230b67018fc5625f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 May 2019 12:02:07 +0900 Subject: Adjusted to latest TQVariant::TQVariant(bool) function. Signed-off-by: Michele Calgaro --- dcop/client/marshall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dcop') diff --git a/dcop/client/marshall.cpp b/dcop/client/marshall.cpp index 354ad03e8..efdb76bfc 100644 --- a/dcop/client/marshall.cpp +++ b/dcop/client/marshall.cpp @@ -339,7 +339,7 @@ void marshall( TQDataStream &arg, QCStringList args, uint &i, TQString type ) int tqRectKeywordLength = strlen(TQRECT_OBJECT_NAME_STRING); int tqColorKeywordLength = strlen(TQCOLOR_OBJECT_NAME_STRING); if ( s == "true" || s == "false" ) { - arg << TQVariant( mkBool( s ), 42 ); + arg << TQVariant( mkBool( s ) ); } else if ( s.left( 4 ) == "int(" ) { arg << TQVariant( s.mid(4, s.length()-5).toInt() ); -- cgit v1.2.1