summaryrefslogtreecommitdiff
path: root/kde-base/kmail/files/4.4/0004-kmail-Make-spell-checking-work-again.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kmail/files/4.4/0004-kmail-Make-spell-checking-work-again.patch')
-rw-r--r--kde-base/kmail/files/4.4/0004-kmail-Make-spell-checking-work-again.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/kde-base/kmail/files/4.4/0004-kmail-Make-spell-checking-work-again.patch b/kde-base/kmail/files/4.4/0004-kmail-Make-spell-checking-work-again.patch
new file mode 100644
index 00000000000..0004bec69e8
--- /dev/null
+++ b/kde-base/kmail/files/4.4/0004-kmail-Make-spell-checking-work-again.patch
@@ -0,0 +1,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
+