From dadb29b68dda381a9a923a1c457b91e7f366302d Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 7 Oct 2015 15:28:56 +0200 Subject: [PATCH] fix add applet --- shell/contents/explorer/WidgetExplorer.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/contents/explorer/WidgetExplorer.qml b/shell/contents/explorer/WidgetExplorer.qml index 7298a99b..8c26ac10 100644 --- a/shell/contents/explorer/WidgetExplorer.qml +++ b/shell/contents/explorer/WidgetExplorer.qml @@ -36,6 +36,7 @@ Rectangle { id: root color: Qt.rgba(0, 0, 0, (1 - Math.abs(main.x / (main.width/2))) * 0.8) signal closed() + property alias containment: widgetExplorer.containment MouseArea { anchors.fill: parent @@ -86,8 +87,6 @@ Rectangle { height: parent.height color: theme.backgroundColor - property alias containment: widgetExplorer.containment - //external drop events can cause a raise event causing us to lose focus and //therefore get deleted whilst we are still in a drag exec() //this is a clue to the owning dialog that hideOnWindowDeactivate should be deleted