summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-11 19:40:20 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-13 11:39:36 -0800
commite5c30e042b8257b54e0611695e58246f42825b13 (patch)
tree9f1bea9c4a73911a920b9df3fd66a83e515d78d1 /mobile-widgets/qml
parent22ffe59a60907e9a2a3cff946a6c41f3a1675623 (diff)
downloadsubsurface-e5c30e042b8257b54e0611695e58246f42825b13.tar.gz
mobile/statistics: start with dives per year bar chart
That seems to be the most commonly usefule chart. This also removes some noisy log messages; these were super useful during development, but should have been merged. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/StatisticsPage.qml3
1 files changed, 0 insertions, 3 deletions
diff --git a/mobile-widgets/qml/StatisticsPage.qml b/mobile-widgets/qml/StatisticsPage.qml
index e13d1ec6f..cf9f88368 100644
--- a/mobile-widgets/qml/StatisticsPage.qml
+++ b/mobile-widgets/qml/StatisticsPage.qml
@@ -20,14 +20,11 @@ Kirigami.Page {
id: statsManager
}
onVisibleChanged: {
- manager.appendTextToLog("StatisticsPage visible changed with width " + width + " with height " + rootItem.height + " we are " + (statisticsPage.wide ? "in" : "not in") + " wide mode")
if (visible)
statsManager.doit()
}
onWidthChanged: {
if (visible) {
- manager.appendTextToLog("StatisticsPage width changed to " + width + " with height " + height + " we are " +
- (statisticsPage.wide ? "in" : "not in") + " wide mode - screen " + Screen.width + " x " + Screen.height )
statsManager.doit()
}
}