save shortcut settings
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815055
This commit is contained in:
parent
4878d04cc3
commit
b228fb7c49
@ -173,6 +173,11 @@ void Applet::save(KConfigGroup &group) const
|
|||||||
KConfigGroup appletConfigGroup(&group, "Configuration");
|
KConfigGroup appletConfigGroup(&group, "Configuration");
|
||||||
//FIXME: we need a global save state too
|
//FIXME: we need a global save state too
|
||||||
saveState(appletConfigGroup);
|
saveState(appletConfigGroup);
|
||||||
|
|
||||||
|
if (d->activationAction) {
|
||||||
|
KConfigGroup shortcutConfig(&group, "Shortcuts");
|
||||||
|
shortcutConfig.writeEntry("global", d->activationAction->globalShortcut().toString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Applet::restore(KConfigGroup &group)
|
void Applet::restore(KConfigGroup &group)
|
||||||
|
Loading…
Reference in New Issue
Block a user