From c28d2daf20126a3293627fb250ca6356f092b130 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Sun, 24 Dec 2017 22:48:59 +0100 Subject: [PATCH] White text for tick delegate --- components/TickDelegate.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/TickDelegate.qml b/components/TickDelegate.qml index f7c14eaf..94ead579 100644 --- a/components/TickDelegate.qml +++ b/components/TickDelegate.qml @@ -27,6 +27,8 @@ // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import QtQuick 2.0 +import "." 1.0 + Item { id: delegateItem @@ -50,7 +52,7 @@ Item { font.family: "Arial" font.bold: true font.pixelSize: 12 * scaleRatio - color: "#4A4949" + color: Style.defaultFontColor text: { if(currentIndex === 0) return qsTr("Default") + translationManager.emptyString if(currentIndex === 13) return qsTr("High") + translationManager.emptyString