MCPcopy Create free account
hub / github.com/KDE/kdevelop / areaReleased

Method areaReleased

kdevplatform/sublime/controller.cpp:263–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263void Controller::areaReleased()
264{
265 Q_D(Controller);
266
267 auto *w = reinterpret_cast<Sublime::MainWindow*>(sender());
268 qCDebug(SUBLIME) << "marking areas as mainwindow-free" << w << d->controlledWindows.contains(w) << d->shownAreas.keys(w);
269 const auto areas = d->shownAreas.keys(w);
270 for (Area* area : areas) {
271 qCDebug(SUBLIME) << "" << area->objectName();
272 areaReleased(area);
273 disconnect(area, nullptr, w, nullptr);
274 }
275
276 d->controlledWindows.removeAll(w);
277}
278
279void Controller::areaReleased(Sublime::Area *area)
280{

Callers

nothing calls this directly

Calls 3

containsMethod · 0.45
keysMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected