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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/TelepathyQt/protocol-info.h b/TelepathyQt/protocol-info.h
index 5828b368..b442a9ba 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);