diff options
author | Juho Annunen <juho.annunen@qt.io> | 2018-07-30 11:27:56 +0300 |
---|---|---|
committer | Juho Annunen <juho.annunen@qt.io> | 2018-08-02 09:21:50 +0000 |
commit | 4aa85d783e7e3e729ee4a4d772869236bf60d326 (patch) | |
tree | 022bd4a4dd533010e1720c1bbc26f6feb7a75eb2 /basicsuite/mediaplayer/EffectSelectionPanel.qml | |
parent | a60eb6782491ca42dd9139ad0a14866cdf064d40 (diff) |
Use QSettings for color definitions
Task-number: QTBUG-69536
Change-Id: I4c1fa7758db6f593dd38050a75d276fcc85346ac
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'basicsuite/mediaplayer/EffectSelectionPanel.qml')
-rw-r--r-- | basicsuite/mediaplayer/EffectSelectionPanel.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/basicsuite/mediaplayer/EffectSelectionPanel.qml b/basicsuite/mediaplayer/EffectSelectionPanel.qml index 4daded0..0af10a5 100644 --- a/basicsuite/mediaplayer/EffectSelectionPanel.qml +++ b/basicsuite/mediaplayer/EffectSelectionPanel.qml @@ -48,11 +48,10 @@ ** ****************************************************************************/ import QtQuick 2.0 -import "settings.js" as Settings Rectangle { id: root - color: Settings.backgroundColor + color: _backgroundColor height: 78 property int itemHeight: 25 property string effectSource: "" @@ -159,7 +158,7 @@ Rectangle { width: parent.width property bool isSelected: list.currentIndex == index Text { - color: parent.isSelected ? Settings.primaryGreen : "white" + color: parent.isSelected ? _primaryGreen : "white" text: name anchors.centerIn: parent font.pixelSize: 20 |