diff options
Diffstat (limited to 'tests/manual/presenterchart/chartview.cpp')
-rw-r--r-- | tests/manual/presenterchart/chartview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/presenterchart/chartview.cpp b/tests/manual/presenterchart/chartview.cpp index 86d144ad..b7d575de 100644 --- a/tests/manual/presenterchart/chartview.cpp +++ b/tests/manual/presenterchart/chartview.cpp @@ -62,7 +62,7 @@ ChartView::ChartView(QChart *chart, QWidget *parent) int numPoints = 10; for (int x = 0; x <= numPoints; ++x) { - qreal y = QRandomGenerator::bounded(100); + qreal y = QRandomGenerator::global()->bounded(100); series0->append(x, y); series1->append(x, y); series2->append(x, y); |