diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-07-19 13:57:28 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-19 21:52:22 +0900 |
commit | 6f8e50f860934b66c22482d1c104d061ed811a36 (patch) | |
tree | 1e861188a6ee19666dac5311b6933b173d349300 /mobile-widgets/qml/main.qml | |
parent | 619fbaf1e231a8f54e3a7458f1f3081deab1825b (diff) | |
download | subsurface-6f8e50f860934b66c22482d1c104d061ed811a36.tar.gz |
QML UI: fix some obvious UI errors
Fixes: #490 items 1) and 2).
1) Reference to isBluetooth.leftPadding is removed as the isBooltooth
checkbox is gone.
2) Do not set background color of downloaded dives. The checkbox is used
to denote "selected or not".
In addition, incorrect references to subsurfaceTheme.PrimaryColor (which
does not exist) are replaced by the correct subsurfaceTheme.primaryColor.
Finally, an obvious copy/paste error width: childrenRect.height. that
is supposed to be width: childrenRect.width.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index e7bfd7a84..5fc9adc7a 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -294,7 +294,7 @@ if you have network connectivity and want to sync your data to cloud storage."), x: locationCheckbox.leftPadding y: parent.height / 2 - height / 2 radius: 4 - border.color: locationCheckbox.down ? subsurfaceTheme.PrimaryColor : subsurfaceTheme.darkerPrimaryColor + border.color: locationCheckbox.down ? subsurfaceTheme.primaryColor : subsurfaceTheme.darkerPrimaryColor color: subsurfaceTheme.drawerColor Rectangle { @@ -303,7 +303,7 @@ if you have network connectivity and want to sync your data to cloud storage."), x: 4 y: 4 radius: 3 - color: locationCheckbox.down ? subsurfaceTheme.PrimaryColor : subsurfaceTheme.darkerPrimaryColor + color: locationCheckbox.down ? subsurfaceTheme.primaryColor : subsurfaceTheme.darkerPrimaryColor visible: locationCheckbox && locationCheckbox.checked } } |