summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-11-03 08:25:53 +0100
committerMontel Laurent <[email protected]>2017-11-03 08:25:53 +0100
commit7af4b1d989828de41ecbb61a9af223dfb1e0542a (patch)
treeb8c3a4981969f06008ff67b9192a432d9ddb5a3c
parentab8ffff175c613322da1607bd6c644a9ebecdd37 (diff)
Fix assign dictionnary
-rw-r--r--src/editor/kmcomposerwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor/kmcomposerwin.cpp b/src/editor/kmcomposerwin.cpp
index 09a77cb..4f894a5 100644
--- a/src/editor/kmcomposerwin.cpp
+++ b/src/editor/kmcomposerwin.cpp
@@ -1607,7 +1607,7 @@ void KMComposerWin::setMessage(const KMime::Message::Ptr &newMsg, bool lastSignS
const QString dictionary = hdr->asUnicodeString();
if (!dictionary.isEmpty()) {
#if SONNET_VERSION >= QT_VERSION_CHECK(5, 40, 0)
- if (!mComposerBase->dictionary()->assignDictionnaryName(dictionary)) {
+ if (!mComposerBase->dictionary()->assignByDictionnary(dictionary)) {
mIncorrectIdentityFolderWarning->dictionaryInvalid();
}
#else