From b228fb7c4912727f2d5f33c8c4c6c9f3b77cb496 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sun, 1 Jun 2008 03:03:43 +0000 Subject: [PATCH] save shortcut settings svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815055 --- applet.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/applet.cpp b/applet.cpp index 214754e7b..f82ba45fd 100644 --- a/applet.cpp +++ b/applet.cpp @@ -173,6 +173,11 @@ void Applet::save(KConfigGroup &group) const KConfigGroup appletConfigGroup(&group, "Configuration"); //FIXME: we need a global save state too saveState(appletConfigGroup); + + if (d->activationAction) { + KConfigGroup shortcutConfig(&group, "Shortcuts"); + shortcutConfig.writeEntry("global", d->activationAction->globalShortcut().toString()); + } } void Applet::restore(KConfigGroup &group)