diff options
Diffstat (limited to 'TelepathyQt/message-content-part.h')
-rw-r--r-- | TelepathyQt/message-content-part.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TelepathyQt/message-content-part.h b/TelepathyQt/message-content-part.h index 7ad289e6..031c4f38 100644 --- a/TelepathyQt/message-content-part.h +++ b/TelepathyQt/message-content-part.h @@ -41,7 +41,7 @@ public: MessageContentPart(const MessageContentPart &other); ~MessageContentPart(); - bool isValid() const { return mPriv.constData() != 0; } + bool isValid() const { return mPriv.constData() != nullptr; } MessageContentPart &operator=(const MessageContentPart &other); bool operator==(const MessageContentPart &other) const; @@ -90,7 +90,7 @@ public: } // Tp -Q_DECLARE_METATYPE(Tp::MessageContentPart); -Q_DECLARE_METATYPE(Tp::MessageContentPartList); +Q_DECLARE_METATYPE(Tp::MessageContentPart) +Q_DECLARE_METATYPE(Tp::MessageContentPartList) #endif |