let the applet restore itself
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774338
This commit is contained in:
parent
1f5e98edec
commit
1637053a9b
@ -251,12 +251,7 @@ void Corona::loadApplets(const QString& configName)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Applet *applet = c->addApplet(plugin, QVariantList(), appId, appletConfig.readEntry("geometry", QRectF()), true);
|
Applet *applet = c->addApplet(plugin, QVariantList(), appId, appletConfig.readEntry("geometry", QRectF()), true);
|
||||||
|
applet->restore(&appletConfig);
|
||||||
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user