summaryrefslogtreecommitdiffstats
path: root/basicsuite/mediaplayer/UrlBar.qml
diff options
context:
space:
mode:
authorJuho Annunen <juho.annunen@qt.io>2018-07-30 11:27:56 +0300
committerJuho Annunen <juho.annunen@qt.io>2018-08-02 09:21:50 +0000
commit4aa85d783e7e3e729ee4a4d772869236bf60d326 (patch)
tree022bd4a4dd533010e1720c1bbc26f6feb7a75eb2 /basicsuite/mediaplayer/UrlBar.qml
parenta60eb6782491ca42dd9139ad0a14866cdf064d40 (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/UrlBar.qml')
-rw-r--r--basicsuite/mediaplayer/UrlBar.qml7
1 files changed, 3 insertions, 4 deletions
diff --git a/basicsuite/mediaplayer/UrlBar.qml b/basicsuite/mediaplayer/UrlBar.qml
index cb822ff..73e9cc5 100644
--- a/basicsuite/mediaplayer/UrlBar.qml
+++ b/basicsuite/mediaplayer/UrlBar.qml
@@ -49,7 +49,6 @@
****************************************************************************/
import QtQuick 2.0
import QtQuick.Controls 2.0
-import "settings.js" as Settings
Rectangle {
id: root
@@ -93,9 +92,9 @@ Rectangle {
font.family: appFont
font.styleName: "Light"
background: Rectangle {
- color: Settings.backgroundColor
+ color: _backgroundColor
opacity: 0.8
- border.color: Settings.primaryGrey
+ border.color: _primaryGrey
border.width: 2
}
onAccepted: root.urlAccepted(urlInput.text);
@@ -107,7 +106,7 @@ Rectangle {
anchors.verticalCenter: urlBar.verticalCenter
height: 70
width: 70
- color: Settings.primaryGrey
+ color: _primaryGrey
MouseArea {
anchors.fill: parent
onClicked: { urlInput.text = ""; urlInput.paste(); }