if a containment gets removed, remove from bookeeping

CCBUG:332593
This commit is contained in:
Marco Martin 2014-03-25 18:26:25 +01:00
parent c452c055da
commit 141df3d98d

View File

@ -430,6 +430,10 @@ void ShellCorona::createWaitingPanels()
d->panelViews[cont]->setScreen(QGuiApplication::screens()[screen]);
d->panelViews[cont]->setContainment(cont);
connect(cont, &PanelView::destroyed,
[=](QObject *obj) {
d->panelViews.remove(cont);
});
}
d->waitingPanels.clear();
}