aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppInvokable.cpp
diff options
context:
space:
mode:
authorJonah BrĂ¼chert <jbb.prv@gmx.de>2019-05-10 22:31:48 +0200
committerLNJ <lnj@kaidan.im>2019-09-08 14:07:00 +0200
commitb18a57daa33f0fefa5f4c63aa7f448b48d302e0d (patch)
tree8682c7ea44b834a2910035049238e8628db552a0 /src/client/QXmppInvokable.cpp
parent35256b7d95374717905f8ac8d4d524c4b691389e (diff)
downloadqxmpp-b18a57daa33f0fefa5f4c63aa7f448b48d302e0d.tar.gz
Modernize codebase using clang-tidy
Using the following checks: * modernize-use-nullptr * modernize-use-override * modernize-use-using * modernize-use-bool-literals
Diffstat (limited to 'src/client/QXmppInvokable.cpp')
-rw-r--r--src/client/QXmppInvokable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/QXmppInvokable.cpp b/src/client/QXmppInvokable.cpp
index a70378f4..91c646db 100644
--- a/src/client/QXmppInvokable.cpp
+++ b/src/client/QXmppInvokable.cpp
@@ -58,7 +58,7 @@ QVariant QXmppInvokable::dispatch( const QByteArray & method, const QList< QVari
const char *typeName = metaObject()->method(idx).typeName();
int resultType = QMetaType::type(typeName);
- void *result = QMetaType::create(resultType, 0);
+ void *result = QMetaType::create(resultType, nullptr);
QGenericReturnArgument ret( typeName, result );
QList<QGenericArgument> genericArgs;