diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-03-17 11:12:11 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-03-17 19:41:29 +0000 |
| commit | dd7065616665e983349263bc5d600d764e164003 (patch) | |
| tree | aa5d9aa51a12c249d36bf1833f9862150fc6f20d /src/sql/models/qsqlquerymodel.cpp | |
| parent | 585471b138b195cb9020200cae760f119903df85 (diff) | |
QNetworkAccessManager: protect more QElapsedTimer with isValid() checks
It might be redundant, but I can't definitely prove that these timers
are already started by the time we call elapsed() or restart() on them;
I "just" think they are because the CI is happy with the existing code,
even when adding assertions into QElapsedTimer.
As a precautionary measure, add more isValid() protections to QNAM code.
Also replace restart() with start() since the return value is unused.
Pick-to: 6.9 6.8 6.5
Change-Id: Ic64ab27116d8b1cb6c14e18dee79a15aa40844ce
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/sql/models/qsqlquerymodel.cpp')
0 files changed, 0 insertions, 0 deletions
