aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/TopBar.qml
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2015-11-29 19:21:27 +0100
committerGravatar Sebastian Kügler <sebas@kde.org>2015-11-29 19:22:10 +0100
commit6580f078d0ae1d912d9a6b12e2769060b4c77f4b (patch)
tree9906d50affe244b938b45f395076d8ba19325a2b /qt-mobile/qml/TopBar.qml
parent8fad349c82b0f681d6daa95bcfe843e806b48dd7 (diff)
downloadsubsurface-6580f078d0ae1d912d9a6b12e2769060b4c77f4b.tar.gz
Fix reference errors caused by moving properties around
This makes things like accent(Text)Color and our two custom point sizes for fonts resolve correctly again. Signed-off-by: Sebastian Kügler <sebas@kde.org>
Diffstat (limited to 'qt-mobile/qml/TopBar.qml')
-rw-r--r--qt-mobile/qml/TopBar.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-mobile/qml/TopBar.qml b/qt-mobile/qml/TopBar.qml
index 43a5ad6af..f07a88e47 100644
--- a/qt-mobile/qml/TopBar.qml
+++ b/qt-mobile/qml/TopBar.qml
@@ -13,7 +13,7 @@ Rectangle {
property bool goBack: (stackView.depth > 1)
- color: MobileComponents.Theme.accentColor
+ color: subsurfaceTheme.accentColor
Layout.minimumHeight: MobileComponents.Units.gridUnit * 2 + MobileComponents.Units.largeSpacing
Layout.fillWidth: true
Layout.margins: 0
@@ -47,7 +47,7 @@ Rectangle {
font.pointSize: MobileComponents.Units.fontMetrics.font.pointSize * 1.5
verticalAlignment: Text.AlignBottom
Layout.fillWidth: false
- color: MobileComponents.Theme.accentTextColor
+ color: subsurfaceTheme.accentTextColor
}
}
Item {
@@ -63,11 +63,11 @@ Rectangle {
style: ButtonStyle {
background: Rectangle {
implicitWidth: MobileComponents.Units.gridUnit * 2
- color: MobileComponents.Theme.accentColor
+ color: subsurfaceTheme.accentColor
}
label: Text {
id: txt
- color: MobileComponents.Theme.accentTextColor
+ color: subsurfaceTheme.accentTextColor
font.pointSize: MobileComponents.Units.fontMetrics.font.pointSize * 2
font.bold: true
text: control.text