From 6f8e50f860934b66c22482d1c104d061ed811a36 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Wed, 19 Jul 2017 13:57:28 +0200 Subject: 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 --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 2 -- 1 file changed, 2 deletions(-) (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml') diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index 32ea5dfed..7e017eec7 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -233,8 +233,6 @@ Kirigami.Page { depth: model.depth ? model.depth : "" selected: model.selected ? model.selected : false - backgroundColor: selectAll ? subsurfaceTheme.darkPrimaryColor : subsurfaceTheme.backgroundColor - onClicked : { console.log("Selecting index" + index); importModel.selectRow(index) -- cgit v1.2.3-70-g09d2