From da6035233fc3bcfbc4a3d65075ee4099349c09d0 Mon Sep 17 00:00:00 2001 From: Juho Annunen Date: Mon, 23 Apr 2018 15:17:33 +0300 Subject: Move common definitions to shared settings Task-number: QTBUG-65302 Change-Id: I2153e2f2b4aa295e87098256354ed034480294df Reviewed-by: Teemu Holappa --- basicsuite/enterprise-charts/View5.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'basicsuite/enterprise-charts/View5.qml') diff --git a/basicsuite/enterprise-charts/View5.qml b/basicsuite/enterprise-charts/View5.qml index 17e9b2f..9b8ba09 100644 --- a/basicsuite/enterprise-charts/View5.qml +++ b/basicsuite/enterprise-charts/View5.qml @@ -50,6 +50,7 @@ import QtQuick 2.0 import QtCharts 2.0 +import "settings.js" as Settings Item { anchors.fill: parent @@ -60,7 +61,7 @@ Item { ScatterSeries { id: scatter1 name: "Scatter1" - color: defaultGreen + color: Settings.primaryGreen XYPoint { x: 1.5; y: 1.5 } XYPoint { x: 1.5; y: 1.6 } XYPoint { x: 1.57; y: 1.55 } @@ -72,7 +73,7 @@ Item { ScatterSeries { name: "Scatter2" - color: defaultGrey + color: Settings.primaryGrey //![1] XYPoint { x: 2.0; y: 2.0 } XYPoint { x: 2.0; y: 2.1 } -- cgit v1.2.3