From 5f22e36cd5a8f8bbd48774d4e10a7cfc4bd0840b Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 22 Oct 2012 11:10:36 +0200 Subject: [PATCH] don't draw the background if there is an highlight mouseover highlight plus item backgrounds looks horrible together --- declarativeimports/plasmacomponents/qml/ListItem.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/declarativeimports/plasmacomponents/qml/ListItem.qml b/declarativeimports/plasmacomponents/qml/ListItem.qml index e352eb08f..6f04d8d12 100644 --- a/declarativeimports/plasmacomponents/qml/ListItem.qml +++ b/declarativeimports/plasmacomponents/qml/ListItem.qml @@ -87,6 +87,7 @@ Item { prefix: "normal" anchors.fill: parent + visible: listItem.ListView && listItem.ListView.view.highlight === null opacity: itemMouse.containsMouse && !itemMouse.pressed ? 0.5 : 1 Component.onCompleted: { prefix = (listItem.sectionDelegate ? "section" : (listItem.checked ? "pressed" : "normal"))