summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/bootloaderinstalls5l.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-07-27 18:27:17 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-07 22:18:41 +0200
commitd7bbf8a477c2511e5dbd96a438c838228579ede8 (patch)
tree7de56b880daa4553bffa8d20525be9032ad40a33 /rbutil/rbutilqt/base/bootloaderinstalls5l.h
parent2fe046c38035db78610ffd0db48d8163a46cb252 (diff)
downloadrockbox-d7bbf8a477c2511e5dbd96a438c838228579ede8.tar.gz
rockbox-d7bbf8a477c2511e5dbd96a438c838228579ede8.tar.bz2
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.h4
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
QList<int> suspendedPids;
bool aborted;
bool abortDetected(void);
- QTime scanTimer;
+ QElapsedTimer scanTimer;
bool scanSuccess;
// progress
- QTime progressTimer;
+ QElapsedTimer progressTimer;
int progressTimeout;
int progCurrent;
int progOrigin;