summaryrefslogtreecommitdiffstats
path: root/redhat/tdepim/kdepim-3.5.13-fix_knotes_after_restored.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdepim/kdepim-3.5.13-fix_knotes_after_restored.patch')
-rw-r--r--redhat/tdepim/kdepim-3.5.13-fix_knotes_after_restored.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/redhat/tdepim/kdepim-3.5.13-fix_knotes_after_restored.patch b/redhat/tdepim/kdepim-3.5.13-fix_knotes_after_restored.patch
new file mode 100644
index 000000000..25d6ef993
--- /dev/null
+++ b/redhat/tdepim/kdepim-3.5.13-fix_knotes_after_restored.patch
@@ -0,0 +1,21 @@
+commit 533f494f46d65be366aee3e9973b674320e46bc8
+Author: Darrell Anderson <humanreadable@yahoo.com>
+Date: 1336698215 -0500
+
+ Fix knotes not appearing on the desktop when a session is restored.
+ Thanks to Slavek Banko.
+ This resolves bug report 987.
+
+diff --git a/knotes/knote.cpp b/knotes/knote.cpp
+index 182aee8..08c24b8 100644
+--- a/knotes/knote.cpp
++++ b/knotes/knote.cpp
+@@ -765,7 +765,7 @@ void KNote::slotClose()
+ m_editor->clearFocus();
+ m_config->setHideNote( true );
+ m_config->setPosition( pos() );
+- m_config->writeConfig();
++
+ // just hide the note so it's still available from the dock window
+ hide();
+ }