summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-06-12 18:19:44 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2019-06-12 18:22:11 +0200
commit50b589b85f1caa68846316e8b3dbe4f8c416775b (patch)
treef741ce3375db84135b7585e885029fe1211ad397 /examples
parent98e04e6c71ee7406ce0cb60974b81522904b10eb (diff)
Convert uses of QTime as a timer to QElapsedTimer
Change-Id: I9d59d4bbf5d17c7b45fb04d5cb131c7f44e4c3ae Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/bluetooth/btfiletransfer/progress.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/btfiletransfer/progress.h b/examples/bluetooth/btfiletransfer/progress.h
index 64a19ca0..ec73e14b 100644
--- a/examples/bluetooth/btfiletransfer/progress.h
+++ b/examples/bluetooth/btfiletransfer/progress.h
@@ -52,7 +52,7 @@
#define PROGRESS_H
#include <QDialog>
-#include <QTime>
+#include <QElapsedTimer>
QT_FORWARD_DECLARE_CLASS(QBluetoothTransferReply)
@@ -81,7 +81,7 @@ public Q_SLOTS:
private:
Ui::Progress *ui;
- QTime start;
+ QElapsedTimer start;
};
#endif // PROGRESS_H