mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:33:24 +00:00
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>
This commit is contained in:
parent
22ffe59a60
commit
e5c30e042b
2 changed files with 0 additions and 7 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
|
||||
StatsManager::StatsManager() : view(nullptr)
|
||||
{
|
||||
// Test: show some random data. Let's see what happens.
|
||||
state.var1Changed(2);
|
||||
state.var2Changed(3);
|
||||
state.binner2Changed(2);
|
||||
updateUi();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue