diff options
Diffstat (limited to 'TelepathyQt/message.h')
-rw-r--r-- | TelepathyQt/message.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TelepathyQt/message.h b/TelepathyQt/message.h index 22e5c295..7aa6bc2a 100644 --- a/TelepathyQt/message.h +++ b/TelepathyQt/message.h @@ -106,7 +106,7 @@ public: DeliveryDetails &operator=(const DeliveryDetails &other); - bool isValid() const { return mPriv.constData() != 0; } + bool isValid() const { return mPriv.constData() != nullptr; } DeliveryStatus status() const; |