summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-12 15:00:20 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-25 17:26:11 -0800
commit6584cd82d5ecbfb4a2b2097f15a8e481c05e0cd4 (patch)
treec12e11e4d25d6777c883fbcf88f252e49e52a70d
parent3ff65dd7cfec1f4af0936f453029f38ca407d680 (diff)
downloadsubsurface-6584cd82d5ecbfb4a2b2097f15a8e481c05e0cd4.tar.gz
mobile-widgets/qml: correct backgroundcolor in setup
Use subsurfaceTheme in DivePlannerSetup. Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qml/DivePlannerSetup.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DivePlannerSetup.qml b/mobile-widgets/qml/DivePlannerSetup.qml
index e854bab38..6c065606f 100644
--- a/mobile-widgets/qml/DivePlannerSetup.qml
+++ b/mobile-widgets/qml/DivePlannerSetup.qml
@@ -9,6 +9,7 @@ import org.kde.kirigami 2.4 as Kirigami
Kirigami.ScrollablePage {
title: qsTr("Dive planner setup")
+ background: Rectangle { color: subsurfaceTheme.backgroundColor }
property string speedUnit: (Backend.length === Enums.METERS) ? qsTr(" m/min") : qsTr(" ft/min")
property string volumeUnit: (Backend.volume === Enums.LITER) ? qsTr(" l/min") : qsTr(" cuft/min")