aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/stocqt/content/StockChart.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/demos/stocqt/content/StockChart.qml')
-rw-r--r--examples/quick/demos/stocqt/content/StockChart.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/quick/demos/stocqt/content/StockChart.qml b/examples/quick/demos/stocqt/content/StockChart.qml
index e32e699c50..4ac426fedb 100644
--- a/examples/quick/demos/stocqt/content/StockChart.qml
+++ b/examples/quick/demos/stocqt/content/StockChart.qml
@@ -96,7 +96,7 @@ Rectangle {
gridSize = 3;
}
else {
- chart.startDate = new Date(2005, 3, 25);
+ chart.startDate = new Date(2011, 4, 25);
gridSize = 4;
}
@@ -355,7 +355,6 @@ Rectangle {
onPaint: {
numPoints = stockModel.indexOf(chart.startDate);
-
if (chart.gridSize == 0)
chart.gridSize = numPoints