diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-01-23 12:08:49 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-01-23 12:08:49 +0100 |
commit | 1bafda42888c37b47bdd5d18118bf3e6912f0f82 (patch) | |
tree | b585fdf305ceea13c46c85b0e3d8ef9faab86135 /components/package/contents/ui/FolderListView.qml | |
parent | db6873c327f96fca5fa61256344e607e10d3532e (diff) | |
download | kube-1bafda42888c37b47bdd5d18118bf3e6912f0f82.tar.gz kube-1bafda42888c37b47bdd5d18118bf3e6912f0f82.zip |
enable drop
Diffstat (limited to 'components/package/contents/ui/FolderListView.qml')
-rw-r--r-- | components/package/contents/ui/FolderListView.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/components/package/contents/ui/FolderListView.qml b/components/package/contents/ui/FolderListView.qml index c4626b59..e7db2905 100644 --- a/components/package/contents/ui/FolderListView.qml +++ b/components/package/contents/ui/FolderListView.qml | |||
@@ -124,6 +124,19 @@ Rectangle { | |||
124 | 124 | ||
125 | color: styleData.selected ? Kirigami.Theme.highlightColor : Kirigami.Theme.textColor | 125 | color: styleData.selected ? Kirigami.Theme.highlightColor : Kirigami.Theme.textColor |
126 | 126 | ||
127 | DropArea { | ||
128 | anchors.fill: parent | ||
129 | |||
130 | Rectangle { | ||
131 | anchors.fill: parent | ||
132 | color: Kirigami.Theme.viewBackgroundColor | ||
133 | |||
134 | opacity: 0.3 | ||
135 | |||
136 | visible: parent.containsDrag | ||
137 | } | ||
138 | } | ||
139 | |||
127 | Text { | 140 | Text { |
128 | anchors { | 141 | anchors { |
129 | verticalCenter: parent.verticalCenter | 142 | verticalCenter: parent.verticalCenter |