summaryrefslogtreecommitdiff
path: root/TelepathyQt/protocol-info.h
diff options
context:
space:
mode:
Diffstat (limited to 'TelepathyQt/protocol-info.h')
-rw-r--r--TelepathyQt/protocol-info.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/TelepathyQt/protocol-info.h b/TelepathyQt/protocol-info.h
index 5828b368..7ca2a8b1 100644
--- a/TelepathyQt/protocol-info.h
+++ b/TelepathyQt/protocol-info.h
@@ -50,7 +50,7 @@ public:
ProtocolInfo(const ProtocolInfo &other);
~ProtocolInfo();
- bool isValid() const { return mPriv.constData() != 0; }
+ bool isValid() const { return mPriv.constData() != nullptr; }
ProtocolInfo &operator=(const ProtocolInfo &other);
@@ -105,7 +105,7 @@ typedef QList<ProtocolInfo> ProtocolInfoList;
} // Tp
-Q_DECLARE_METATYPE(Tp::ProtocolInfo);
-Q_DECLARE_METATYPE(Tp::ProtocolInfoList);
+Q_DECLARE_METATYPE(Tp::ProtocolInfo)
+Q_DECLARE_METATYPE(Tp::ProtocolInfoList)
#endif