summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-05 06:07:14 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-05 06:07:14 (GMT)
commitc083d76bcd58a0d4279f6402b42c08f737702c29 (patch)
treec3486d4e19a18a6603033f10e992c83a161fa408
parentc3779e6d73fec91d4f43f799fe6560263a94014d (diff)
coding style here
-rw-r--r--messagecomposer/src/composer/composerviewbase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/messagecomposer/src/composer/composerviewbase.cpp b/messagecomposer/src/composer/composerviewbase.cpp
index 9b8f7e8..67345e6 100644
--- a/messagecomposer/src/composer/composerviewbase.cpp
+++ b/messagecomposer/src/composer/composerviewbase.cpp
@@ -1065,13 +1065,13 @@ void MessageComposer::ComposerViewBase::updateAutoSave()
} else {
if (!m_autoSaveTimer) {
m_autoSaveTimer = new QTimer(this);
- if (m_parentWidget)
+ if (m_parentWidget) {
connect(m_autoSaveTimer, SIGNAL(timeout()),
m_parentWidget, SLOT(autoSaveMessage()));
- else
+ } else {
connect(m_autoSaveTimer, &QTimer::timeout,
this, &ComposerViewBase::autoSaveMessage);
-
+ }
}
m_autoSaveTimer->start(m_autoSaveInterval);
}