init applet after it's added
This commit is contained in:
parent
60fda41cfe
commit
7e9b152acf
@ -441,6 +441,7 @@ void WidgetExplorer::addApplet(const QString &pluginName)
|
|||||||
qDebug() << " .. pathes: " << dirs;
|
qDebug() << " .. pathes: " << dirs;
|
||||||
|
|
||||||
Plasma::Applet *applet = Plasma::Applet::loadPlasmoid(dirs.first());
|
Plasma::Applet *applet = Plasma::Applet::loadPlasmoid(dirs.first());
|
||||||
|
applet->init();
|
||||||
if (applet) {
|
if (applet) {
|
||||||
if (d->containment) {
|
if (d->containment) {
|
||||||
d->containment->addApplet(applet);
|
d->containment->addApplet(applet);
|
||||||
|
Loading…
Reference in New Issue
Block a user