Verified Commit aa620049 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

effects/private: Make WindowHeapDelegate dragHandler less confusing

There were too much `dragHandler` identifiers per square meter of code.
parent f48b3066
......@@ -318,14 +318,13 @@ Item {
}
component DragManager : DragHandler {
id: dragHandler
target: null
grabPermissions: PointerHandler.CanTakeOverFromAnything
onActiveChanged: {
thumb.windowHeap.dragActive = active;
if (active) {
thumb.activeDragHandler = dragHandler;
thumb.activeDragHandler = this;
} else {
thumbSource.Drag.drop();
var globalPos = targetScreen.mapToGlobal(centroid.scenePosition);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment