diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-26 00:08:21 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-26 00:08:21 (GMT) |
commit | 82c4fe87a9b2f65354803b9b6dc2054c4c63c8e8 (patch) | |
tree | 2d206134bb71260fa580160c7c75c351a4867e29 /src/network/socket/qhttpsocketengine.cpp | |
parent | 9f6b271e942d48cef566891bd9d9712e147df3a2 (diff) | |
parent | f75961dfd20b82f2f5e2a4b7feaf59c841a93f6b (diff) | |
download | Qt-82c4fe87a9b2f65354803b9b6dc2054c4c63c8e8.zip Qt-82c4fe87a9b2f65354803b9b6dc2054c4c63c8e8.tar.gz Qt-82c4fe87a9b2f65354803b9b6dc2054c4c63c8e8.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'src/network/socket/qhttpsocketengine.cpp')
-rw-r--r-- | src/network/socket/qhttpsocketengine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/socket/qhttpsocketengine.cpp b/src/network/socket/qhttpsocketengine.cpp index 3293ff5..dfda257 100644 --- a/src/network/socket/qhttpsocketengine.cpp +++ b/src/network/socket/qhttpsocketengine.cpp @@ -42,9 +42,9 @@ #include "qhttpsocketengine_p.h" #include "qtcpsocket.h" #include "qhostaddress.h" -#include "qdatetime.h" #include "qurl.h" #include "qhttp.h" +#include "qelapsedtimer.h" #if !defined(QT_NO_NETWORKPROXY) && !defined(QT_NO_HTTP) #include <qdebug.h> @@ -319,7 +319,7 @@ bool QHttpSocketEngine::waitForRead(int msecs, bool *timedOut) if (!d->socket || d->socket->state() == QAbstractSocket::UnconnectedState) return false; - QTime stopWatch; + QElapsedTimer stopWatch; stopWatch.start(); // Wait for more data if nothing is available. @@ -366,7 +366,7 @@ bool QHttpSocketEngine::waitForWrite(int msecs, bool *timedOut) return true; } - QTime stopWatch; + QElapsedTimer stopWatch; stopWatch.start(); // If we're not connected yet, wait until we are, and until bytes have |