summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-02-15 08:07:42 +0100
committerLaurent Montel <[email protected]>2018-02-15 08:07:42 +0100
commit770eb27bf22faeab5a65e3e6439a372c30fe1c27 (patch)
tree2c2fe91c470b174dbbde3766e1b84628623ba7c8
parent87a4b4a896efc1e46042a3e17ce6f5940bcf53ee (diff)
Rename variable
-rw-r--r--src/editor/kmcomposerwin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editor/kmcomposerwin.cpp b/src/editor/kmcomposerwin.cpp
index 741bb83..e597503 100644
--- a/src/editor/kmcomposerwin.cpp
+++ b/src/editor/kmcomposerwin.cpp
@@ -2894,7 +2894,7 @@ void KMComposerWin::slotSpellcheckDoneClearStatus()
mStatusbarLabel->clear();
}
-void KMComposerWin::slotIdentityChanged(uint uoid, bool initalChange)
+void KMComposerWin::slotIdentityChanged(uint uoid, bool initialChange)
{
if (mMsg == nullptr) {
qCDebug(KMAIL_LOG) << "Trying to change identity but mMsg == 0!";
@@ -2974,7 +2974,7 @@ void KMComposerWin::slotIdentityChanged(uint uoid, bool initalChange)
}
// if unmodified, apply new template, if one is set
if (!wasModified && !(ident.templates().isEmpty() && mCustomTemplate.isEmpty())
- && !initalChange) {
+ && !initialChange) {
applyTemplate(uoid, mId, ident, wasModified);
} else {
mComposerBase->identityChanged(ident, oldIdentity, false);