summaryrefslogtreecommitdiffstats
path: root/examples/network/torrent/ratecontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/torrent/ratecontroller.h')
-rw-r--r--examples/network/torrent/ratecontroller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/network/torrent/ratecontroller.h b/examples/network/torrent/ratecontroller.h
index a4aa596ce1..f8bff0cc36 100644
--- a/examples/network/torrent/ratecontroller.h
+++ b/examples/network/torrent/ratecontroller.h
@@ -53,7 +53,7 @@
#include <QObject>
#include <QSet>
-#include <QTime>
+#include <QElapsedTimer>
class PeerWireClient;
@@ -79,7 +79,7 @@ public slots:
void scheduleTransfer();
private:
- QTime stopWatch;
+ QElapsedTimer stopWatch;
QSet<PeerWireClient *> sockets;
int upLimit;
int downLimit;