From 84007a813a84e642fa8ee6aa7179a63cf5f598cc Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Tue, 19 Aug 2008 17:50:35 +0000 Subject: [PATCH] save/restore containment context (activity) svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849513 --- containment.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/containment.cpp b/containment.cpp index 736ee4f1a..cf87b32de 100644 --- a/containment.cpp +++ b/containment.cpp @@ -246,6 +246,7 @@ void Containment::restore(KConfigGroup &group) setLocation((Plasma::Location)group.readEntry("location", (int)d->location)); setFormFactor((Plasma::FormFactor)group.readEntry("formfactor", (int)d->formFactor)); setScreen(group.readEntry("screen", d->screen)); + setContext(group.readEntry("context", QString())); flushPendingConstraintsEvents(); //kDebug() << "Containment" << id() << "geometry is" << geometry() << "config'd with" << appletConfig.name(); @@ -268,6 +269,7 @@ void Containment::save(KConfigGroup &g) const group.writeEntry("screen", d->screen); group.writeEntry("formfactor", (int)d->formFactor); group.writeEntry("location", (int)d->location); + group.writeEntry("context", d->context); saveContents(group); }