1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-21 10:50:30 +03:00

add debug messages for destructions

This commit is contained in:
Michail Vourlakos 2017-06-25 16:42:19 +03:00
parent 2d2d725877
commit c0daf7dd68
2 changed files with 11 additions and 0 deletions

View File

@ -85,9 +85,13 @@ DockView::DockView(Plasma::Corona *corona, QScreen *targetScreen, bool dockWindo
connect(this, &DockView::containmentChanged
, this, [&]() {
qDebug() << "dock view c++ containment changed 1...";
if (!this->containment())
return;
qDebug() << "dock view c++ containment changed 2...";
restoreConfig();
reconsiderScreen();

View File

@ -72,10 +72,17 @@ PlasmaCore.FrameSvgItem {
}
}
Component.onDestruction: {
console.log("dock view qml source deleting...");
}
onContainmentChanged: {
console.log("dock view qml source - containment changed 1...");
if (!containment) {
return;
}
console.log("dock view qml source - containment changed 2...");
containment.parent = containmentParent;
containment.visible = true;
containment.anchors.fill = containmentParent;