From bf60c264ace1ee19106587e136d636ce8c3e1914 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Wed, 23 Jun 2010 17:50:16 +0000 Subject: [PATCH] restore; usually not needed as this path is usually for new applets (and so the values won't do anything) but can also be used for applets created elsewhere; will be useful for the kpart work svn path=/trunk/KDE/kdelibs/; revision=1141866 --- containment.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/containment.cpp b/containment.cpp index c86c1ebe2..80c434859 100644 --- a/containment.cpp +++ b/containment.cpp @@ -980,6 +980,7 @@ void Containment::addApplet(Applet *applet, const QPointF &pos, bool delayInit) //applet->setWindowFlags(Qt::Window); } } else { + applet->restore(*applet->d->mainConfigGroup()); applet->init(); Plasma::Animation *anim = Plasma::Animator::create(Plasma::Animator::AppearAnimation); if (anim) {