initialize the running applets
BUG:164397 svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823260
This commit is contained in:
parent
eb2b4126ae
commit
587e0f8418
@ -190,6 +190,10 @@ void AppletBrowserWidget::Private::initRunningApplets()
|
|||||||
foreach (Containment *containment, containments) {
|
foreach (Containment *containment, containments) {
|
||||||
connect(containment, SIGNAL(appletAdded(Plasma::Applet*,QPointF)), q, SLOT(appletAdded(Plasma::Applet*)));
|
connect(containment, SIGNAL(appletAdded(Plasma::Applet*,QPointF)), q, SLOT(appletAdded(Plasma::Applet*)));
|
||||||
connect(containment, SIGNAL(appletRemoved(Plasma::Applet*)), q, SLOT(appletRemoved(Plasma::Applet*)));
|
connect(containment, SIGNAL(appletRemoved(Plasma::Applet*)), q, SLOT(appletRemoved(Plasma::Applet*)));
|
||||||
|
|
||||||
|
foreach (Applet *applet, containment->applets()) {
|
||||||
|
runningApplets[applet->name()]++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//kDebug() << runningApplets;
|
//kDebug() << runningApplets;
|
||||||
|
Loading…
Reference in New Issue
Block a user