summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdbusperformance/tst_qdbusperformance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qdbusperformance/tst_qdbusperformance.cpp')
-rw-r--r--tests/auto/qdbusperformance/tst_qdbusperformance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qdbusperformance/tst_qdbusperformance.cpp b/tests/auto/qdbusperformance/tst_qdbusperformance.cpp
index 42db697..a5b4b98 100644
--- a/tests/auto/qdbusperformance/tst_qdbusperformance.cpp
+++ b/tests/auto/qdbusperformance/tst_qdbusperformance.cpp
@@ -125,7 +125,7 @@ void tst_QDBusPerformance::init()
void tst_QDBusPerformance::callSpeed()
{
- QTime timer;
+ QElapsedTimer timer;
int callCount = 0;
timer.start();
@@ -141,7 +141,7 @@ void tst_QDBusPerformance::callSpeed()
bool tst_QDBusPerformance::executeTest(const char *funcname, int size, const QVariant &data)
{
- QTime timer;
+ QElapsedTimer timer;
int callCount = 0;
qint64 transferred = 0;