summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qml/StatisticsPage.qml3
-rw-r--r--mobile-widgets/statsmanager.cpp4
2 files changed, 0 insertions, 7 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()
}
}
diff --git a/mobile-widgets/statsmanager.cpp b/mobile-widgets/statsmanager.cpp
index 1280f0990..54fc804fd 100644
--- a/mobile-widgets/statsmanager.cpp
+++ b/mobile-widgets/statsmanager.cpp
@@ -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();
}