diff options
author | Giuseppe D'Angelo <[email protected]> | 2025-03-14 12:56:19 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <[email protected]> | 2025-03-15 14:08:16 +0100 |
commit | 2a50e8407ee4af950453479608428902fb28c390 (patch) | |
tree | 8376d04e2f2181b1ec12628936915209458851aa /src/quick/scenegraph/adaptations/software | |
parent | 5a40388db9616fa9d3b8494ee5a2c1375b50ad44 (diff) |
Use QElapsedTimer::start() and not restart()
If we don't need the return value anyhow, why calculating it?
Change-Id: I19702bc9e09da6a2d7545e268a7626783f571870
Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/quick/scenegraph/adaptations/software')
-rw-r--r-- | src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp b/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp index d0f18a0b96..ab0e44db20 100644 --- a/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp +++ b/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp @@ -477,7 +477,7 @@ void QSGSoftwareRenderThread::syncAndRender() qCDebug(QSG_RASTER_LOG_RENDERLOOP, "RT - blocking for %d ms", blockTime); msleep(blockTime); } - renderThrottleTimer.restart(); + renderThrottleTimer.start(); wd->fireFrameSwapped(); } else { |