+// Meant to be created with a Loader to circunvent typo, "circumvent"
+++ qml/Stage/ChildWindow.qml Wanted to double-check this with you:
+ WindowDecoration { + onPressed: root.surface.activate(); + onPressedChanged: if (d.moveHandler) { d.moveHandler.handlePressedChanged(pressed, pressedButtons, mouseX, mouseY); }
You're listening to both of MouseArea's pressed signals. Since the order is emission isn't guaranteed, you're sure both slots are roughly independent (one doesn't impact the other)? Just in case future Qt's reversed the order..
« Back to merge proposal
+// Meant to be created with a Loader to circunvent
typo, "circumvent"
+++ qml/Stage/ ChildWindow. qml
Wanted to double-check this with you:
+ WindowDecoration { activate( ); handlePressedCh anged(pressed, pressedButtons, mouseX, mouseY); }
+ onPressed: root.surface.
+ onPressedChanged: if (d.moveHandler) { d.moveHandler.
You're listening to both of MouseArea's pressed signals. Since the order is emission isn't guaranteed, you're sure both slots are roughly independent (one doesn't impact the other)? Just in case future Qt's reversed the order..