From 31cd81ca53a1550757aca7e95ea4fe22ee1d9c55 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 11 Jan 2017 18:41:41 +0100 Subject: [PATCH] use the highlight color for selected text plasma theme highlight color comes from the text selection background kcoloscheme, so that's the one coherent with qwidget based apps BUG:374140 --- src/declarativeimports/plasmastyle/TextFieldStyle.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarativeimports/plasmastyle/TextFieldStyle.qml b/src/declarativeimports/plasmastyle/TextFieldStyle.qml index 1276bf07c..116871fdc 100644 --- a/src/declarativeimports/plasmastyle/TextFieldStyle.qml +++ b/src/declarativeimports/plasmastyle/TextFieldStyle.qml @@ -31,7 +31,7 @@ QtQuickControlStyle.TextFieldStyle { id: root textColor: control.enabled ? theme.viewTextColor : Qt.rgba(theme.viewTextColor.r, theme.viewTextColor.g, theme.viewTextColor.b, 0.6) - selectionColor: theme.viewFocusColor + selectionColor: theme.highlightColor selectedTextColor: theme.viewHighlightedTextColor placeholderTextColor: Qt.rgba(theme.viewTextColor.r, theme.viewTextColor.g, theme.viewTextColor.b, 0.5)