fix add applet

This commit is contained in:
Marco Martin 2015-10-07 15:28:56 +02:00
parent 4bc42a9c9b
commit dadb29b68d

View file

@ -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