diff options
Diffstat (limited to 'TelepathyQt/protocol-parameter.h')
-rw-r--r-- | TelepathyQt/protocol-parameter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TelepathyQt/protocol-parameter.h b/TelepathyQt/protocol-parameter.h index e8a9f1e2..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; |