diff options
Diffstat (limited to 'tests/manual/qgraphicslayout/flicker/window.cpp')
-rw-r--r-- | tests/manual/qgraphicslayout/flicker/window.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/manual/qgraphicslayout/flicker/window.cpp b/tests/manual/qgraphicslayout/flicker/window.cpp index 32d12f35ee..f5f4131ab7 100644 --- a/tests/manual/qgraphicslayout/flicker/window.cpp +++ b/tests/manual/qgraphicslayout/flicker/window.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. @@ -41,7 +41,7 @@ void SlowWidget::setGeometry(const QRectF &rect) qDebug() << "currentBenchmarkIteration:" << stats.currentBenchmarkIteration; if (stats.currentBenchmarkIteration == m_window->m_benchmarkIterationsSpinBox->value()) { if (stats.output) - stats.output->setText(tr("DONE. Elapsed: %1, setGeometryCount: %2").arg(stats.time.elapsed()).arg(stats.setGeometryCount)); + stats.output->setText(tr("DONE. Elapsed: %1, setGeometryCount: %2").arg(stats.timer.elapsed()).arg(stats.setGeometryCount)); } else { reiterate = true; } @@ -57,4 +57,3 @@ void SlowWidget::setGeometry(const QRectF &rect) //QTimer::singleShot(0, m_window, SLOT(doAgain())); } } - |