From aaa64971fcf3d72d8b66ebf37b8c1005017a5ea4 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Fri, 2 Oct 2020 22:56:58 +0200 Subject: Port remaining Qt-6-removed APIs --- src/client/QXmppInvokable.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client/QXmppInvokable.cpp') diff --git a/src/client/QXmppInvokable.cpp b/src/client/QXmppInvokable.cpp index c3aaa4b9..ccbfb470 100644 --- a/src/client/QXmppInvokable.cpp +++ b/src/client/QXmppInvokable.cpp @@ -80,7 +80,11 @@ QVariant QXmppInvokable::dispatch(const QByteArray &method, const QList= QT_VERSION_CHECK(6, 0, 0) + QVariant returnValue(QMetaType(resultType), result); +#else QVariant returnValue(resultType, result); +#endif QMetaType::destroy(resultType, result); return returnValue; } else { -- cgit v1.2.3