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>
This commit is contained in:
Dirk Hohndel 2018-04-16 11:44:20 -07:00
parent 2529529ff9
commit 95c9a505c6

View file

@ -12,9 +12,6 @@ Kirigami.ScrollablePage {
objectName: "DiveList" objectName: "DiveList"
title: qsTr("Dive list") title: qsTr("Dive list")
verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff
background: Rectangle {
color: subsurfaceTheme.backgroundColor
}
width: subsurfaceTheme.columnWidth width: subsurfaceTheme.columnWidth
property int credentialStatus: manager.credentialStatus property int credentialStatus: manager.credentialStatus
property int numDives: diveListView.count property int numDives: diveListView.count