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
@ -187,9 +187,13 @@ void AppletBrowserWidget::Private::initRunningApplets()
|
||||
appletNames.clear();
|
||||
runningApplets.clear();
|
||||
QList<Containment*> containments = c->containments();
|
||||
foreach (Containment * containment,containments) {
|
||||
foreach (Containment *containment, containments) {
|
||||
connect(containment, SIGNAL(appletAdded(Plasma::Applet*,QPointF)), q, SLOT(appletAdded(Plasma::Applet*)));
|
||||
connect(containment, SIGNAL(appletRemoved(Plasma::Applet*)), q, SLOT(appletRemoved(Plasma::Applet*)));
|
||||
|
||||
foreach (Applet *applet, containment->applets()) {
|
||||
runningApplets[applet->name()]++;
|
||||
}
|
||||
}
|
||||
|
||||
//kDebug() << runningApplets;
|
||||
|
Loading…
Reference in New Issue
Block a user