diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-07-27 18:27:17 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-08-07 22:18:41 +0200 |
commit | d7bbf8a477c2511e5dbd96a438c838228579ede8 (patch) | |
tree | 7de56b880daa4553bffa8d20525be9032ad40a33 /rbutil/rbutilqt/base/bootloaderinstalls5l.h | |
parent | 2fe046c38035db78610ffd0db48d8163a46cb252 (diff) | |
download | rockbox-d7bbf8a477c2511e5dbd96a438c838228579ede8.tar.gz rockbox-d7bbf8a477c2511e5dbd96a438c838228579ede8.zip |
rbutil: Use QElapsedTimer for measuring time.
The timing functions in QTime are deprecated and have been removed for
Qt6. Use QElapsedTimer, which is the replacement for this.
Change-Id: Ib262753fe99aff83f1952337eb64cd44439cafdd
Diffstat (limited to 'rbutil/rbutilqt/base/bootloaderinstalls5l.h')
-rw-r--r-- | rbutil/rbutilqt/base/bootloaderinstalls5l.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstalls5l.h b/rbutil/rbutilqt/base/bootloaderinstalls5l.h index a59e5d378b..e2a44a031f 100644 --- a/rbutil/rbutilqt/base/bootloaderinstalls5l.h +++ b/rbutil/rbutilqt/base/bootloaderinstalls5l.h | |||
@@ -55,10 +55,10 @@ class BootloaderInstallS5l : public BootloaderInstallBase | |||
55 | QList<int> suspendedPids; | 55 | QList<int> suspendedPids; |
56 | bool aborted; | 56 | bool aborted; |
57 | bool abortDetected(void); | 57 | bool abortDetected(void); |
58 | QTime scanTimer; | 58 | QElapsedTimer scanTimer; |
59 | bool scanSuccess; | 59 | bool scanSuccess; |
60 | // progress | 60 | // progress |
61 | QTime progressTimer; | 61 | QElapsedTimer progressTimer; |
62 | int progressTimeout; | 62 | int progressTimeout; |
63 | int progCurrent; | 63 | int progCurrent; |
64 | int progOrigin; | 64 | int progOrigin; |