summaryrefslogtreecommitdiff
path: root/TelepathyQt/contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'TelepathyQt/contact.h')
-rw-r--r--TelepathyQt/contact.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/TelepathyQt/contact.h b/TelepathyQt/contact.h
index aabddd31..654eb365 100644
--- a/TelepathyQt/contact.h
+++ b/TelepathyQt/contact.h
@@ -78,7 +78,7 @@ public:
InfoFields(const InfoFields &other);
~InfoFields();
- bool isValid() const { return mPriv.constData() != 0; }
+ bool isValid() const { return mPriv.constData() != nullptr; }
InfoFields &operator=(const InfoFields &other);