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:
parent
2d2d725877
commit
c0daf7dd68
@ -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();
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user