summaryrefslogtreecommitdiff
path: root/TelepathyQt/protocol-parameter.h
diff options
context:
space:
mode:
Diffstat (limited to 'TelepathyQt/protocol-parameter.h')
-rw-r--r--TelepathyQt/protocol-parameter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/TelepathyQt/protocol-parameter.h b/TelepathyQt/protocol-parameter.h
index 0762bb39..5b20428b 100644
--- a/TelepathyQt/protocol-parameter.h
+++ b/TelepathyQt/protocol-parameter.h
@@ -55,7 +55,7 @@ public:
ProtocolParameter(const ProtocolParameter &other);
~ProtocolParameter();
- bool isValid() const { return mPriv.constData() != 0; }
+ bool isValid() const { return mPriv.constData() != nullptr; }
ProtocolParameter &operator=(const ProtocolParameter &other);
bool operator==(const ProtocolParameter &other) const;
@@ -88,7 +88,7 @@ uint qHash(const ProtocolParameter &parameter);
} // Tp
-Q_DECLARE_METATYPE(Tp::ProtocolParameter);
-Q_DECLARE_METATYPE(Tp::ProtocolParameterList);
+Q_DECLARE_METATYPE(Tp::ProtocolParameter)
+Q_DECLARE_METATYPE(Tp::ProtocolParameterList)
#endif