hover = true when highlight in listview

This commit is contained in:
Marco Martin 2012-10-22 11:22:11 +02:00
parent ea59745a58
commit 595f6f43cd

View File

@ -43,7 +43,8 @@ import org.kde.plasma.core 0.1 as PlasmaCore
Item {
id: highlight
property bool hover: false
//in the case we are the highlight of a listview, it follows the mouse, so hover = true
property bool hover: ListView ? true : false
property bool pressed: false
PlasmaCore.FrameSvgItem {