summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-05-10 20:03:35 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 04:25:22 +0200
commit097fc893cb2536872baf25adf27d6f485418b116 (patch)
treed15111932bd1aa3616148af64d2fa8911d72c225
parent52eefd582e137792a91baeebf1335136cae48957 (diff)
downloadtdepim-097fc893cb2536872baf25adf27d6f485418b116.tar.gz
tdepim-097fc893cb2536872baf25adf27d6f485418b116.zip
Fix knotes not appearing on the desktop when a session is restored.
Thanks to Slavek Banko. This resolves bug report 987. (cherry picked from commit 533f494f46d65be366aee3e9973b674320e46bc8)
-rw-r--r--knotes/knote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp
index 2d177dbff..9f037db4d 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();
}