summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-12 14:32:59 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-12 14:32:59 (GMT)
commitbf9ab4022dcdb3648b17e0bc68dcfb22286a0c17 (patch)
tree4afdf33eced30e62951cc53dccb07f313618604a
parentf54e84afa9ed217939ba9f99197a6ecc1e8973db (diff)
Minor
-rw-r--r--resources/kolab/kolabresource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/kolab/kolabresource.cpp b/resources/kolab/kolabresource.cpp
index 2c6dffc..7e32389 100644
--- a/resources/kolab/kolabresource.cpp
+++ b/resources/kolab/kolabresource.cpp
@@ -63,7 +63,7 @@ KolabResource::~KolabResource()
Settings *KolabResource::settings() const
{
- if (m_settings == 0) {
+ if (!m_settings) {
m_settings = new KolabSettings;
}