diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-24 12:02:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-24 12:02:07 +0900 |
commit | 352c8f6a2190a65107a30c42230b67018fc5625f (patch) | |
tree | b8cc3b8b315387deb5c3428ce89a4e2e5da217d6 /dcop | |
parent | 080948356f99f601ae4328ca01867547a412a376 (diff) | |
download | tdelibs-352c8f6a2190a65107a30c42230b67018fc5625f.tar.gz tdelibs-352c8f6a2190a65107a30c42230b67018fc5625f.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'dcop')
-rw-r--r-- | dcop/client/marshall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() ); |