let the applet restore itself

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774338
This commit is contained in:
Aaron J. Seigo 2008-02-13 01:52:45 +00:00
parent 1f5e98edec
commit 1637053a9b

View File

@ -251,12 +251,7 @@ void Corona::loadApplets(const QString& configName)
}
Applet *applet = c->addApplet(plugin, QVariantList(), appId, appletConfig.readEntry("geometry", QRectF()), true);
QList<qreal> m = appletConfig.readEntry("transform", QList<qreal>());
if (m.count() == 9) {
QTransform t(m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m[8]);
applet->setTransform(t);
}
applet->restore(&appletConfig);
}
}