summaryrefslogtreecommitdiff
blob: 0004bec69e8af3926a890d4566cf0a462e22a1b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 6f62ea1bff318d8efea42f59bdc965ee2ab187a0 Mon Sep 17 00:00:00 2001
From: Thomas McGuire <mcguire@kde.org>
Date: Wed, 11 May 2011 18:21:32 +0100
Subject: [PATCH 4/6] Make spell checking work again. The text edit used the
 wrong config file for loading spell settings. After
 using the config file, the correct settigns get loaded
 again, since the Loader from Sonnet is a singleton and
 therefore shares the settings, so even the textedit
 with the wrong settings file name gets updated.

cherry-picked from d1708effbb68d6eae36ee5177a599c965973725f.

BUG: 247486
---
 kmail/kmcomposereditor.cpp |    2 +-
 libkdepim/kmeditor.cpp     |   12 ++++++++++++
 libkdepim/kmeditor.h       |    6 ++++++
 3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/kmail/kmcomposereditor.cpp b/kmail/kmcomposereditor.cpp
index f1accab..74de65b 100644
--- a/kmail/kmcomposereditor.cpp
+++ b/kmail/kmcomposereditor.cpp
@@ -44,7 +44,7 @@
 #include <QFileInfo>
 
 KMComposerEditor::KMComposerEditor( KMComposeWin *win,QWidget *parent)
- :KMeditor(parent),m_composerWin(win)
+ :KMeditor(parent, "kmailrc"),m_composerWin(win)
 {
 }
 
-- 
1.7.9.2