From 0205aa1ec695ec15cb2e9c46294d080c2f300474 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 20 Mar 2014 17:55:22 +0100 Subject: [PATCH] if not flat, use button color BUG:332138 --- src/declarativeimports/plasmacomponents/qml/ToolButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarativeimports/plasmacomponents/qml/ToolButton.qml b/src/declarativeimports/plasmacomponents/qml/ToolButton.qml index 7ff4f011c..9896f6b08 100644 --- a/src/declarativeimports/plasmacomponents/qml/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents/qml/ToolButton.qml @@ -364,7 +364,7 @@ Item { width: parent.width - icon.width - parent.spacing height: parent.height - color: mouse.containsMouse ? theme.buttonTextColor : theme.textColor + color: mouse.containsMouse || !button.flat ? theme.buttonTextColor : theme.textColor Behavior on color { ColorAnimation { duration: units.shortDuration * 2 } } elide: Text.ElideRight