summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuho Annunen <juho.annunen@qt.io>2018-08-06 09:10:39 +0300
committerJuho Annunen <juho.annunen@qt.io>2018-08-06 06:49:59 +0000
commite81384c45e5c0b90e07057abd2a8788272d14c0f (patch)
tree19dbd3c7625c897327b38752b1c6f0711739b24f
parent4aa85d783e7e3e729ee4a4d772869236bf60d326 (diff)
Remove confusing highlighting on media player file browser
Task-number: QTBUG-62791 Change-Id: Ic7e4db3278bf9df28f2d5cb0f1a4d0aa50aade2d Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
-rw-r--r--basicsuite/mediaplayer/FileBrowser.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/basicsuite/mediaplayer/FileBrowser.qml b/basicsuite/mediaplayer/FileBrowser.qml
index da51001..a2028f4 100644
--- a/basicsuite/mediaplayer/FileBrowser.qml
+++ b/basicsuite/mediaplayer/FileBrowser.qml
@@ -112,7 +112,7 @@ Item {
text: fileName
font.pixelSize: parent.height * .1
font.family: appFont
- color: view.currentIndex === index ? _primaryGreen : "white"
+ color: mouseRegion.pressed ? _primaryGreen : "white"
elide: Text.ElideRight
}