aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-16 11:44:20 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-16 14:10:04 -0700
commit95c9a505c6bef852da52e0262e427f32a16004a2 (patch)
tree02199f9f0a01e2042aec0bf2eccb769551676d33 /mobile-widgets
parent2529529ff94f9150d491b015a589e5c282bc8492 (diff)
downloadsubsurface-95c9a505c6bef852da52e0262e427f32a16004a2.tar.gz
QML UI: dive list performance: no background rectangle
This is one of the suggested performance enhancement to reduce redundant painting. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveList.qml3
1 files changed, 0 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index d9a171872..0ff7a67cd 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -12,9 +12,6 @@ Kirigami.ScrollablePage {
objectName: "DiveList"
title: qsTr("Dive list")
verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff
- background: Rectangle {
- color: subsurfaceTheme.backgroundColor
- }
width: subsurfaceTheme.columnWidth
property int credentialStatus: manager.credentialStatus
property int numDives: diveListView.count