diff options
Diffstat (limited to 'tests/modelinteractivitytest.cpp')
-rw-r--r-- | tests/modelinteractivitytest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/modelinteractivitytest.cpp b/tests/modelinteractivitytest.cpp index 4819ccc..1ac0e2d 100644 --- a/tests/modelinteractivitytest.cpp +++ b/tests/modelinteractivitytest.cpp | |||
@@ -30,10 +30,11 @@ public: | |||
30 | { | 30 | { |
31 | t.start(); | 31 | t.start(); |
32 | const bool ret = QCoreApplication::notify(receiver, event); | 32 | const bool ret = QCoreApplication::notify(receiver, event); |
33 | if (t.elapsed() > 1) | 33 | if (t.elapsed() > 1) { |
34 | std::cout | 34 | std::cout |
35 | << QString("processing event type %1 for object %2 took %3ms").arg((int)event->type()).arg("" /* receiver->objectName().toLocal8Bit().data()*/).arg((int)t.elapsed()).toStdString() | 35 | << QString("processing event type %1 for object %2 took %3ms").arg((int)event->type()).arg(receiver->metaObject()->className()).arg((int)t.elapsed()).toStdString() |
36 | << std::endl; | 36 | << std::endl; |
37 | } | ||
37 | blockingTime += t.elapsed(); | 38 | blockingTime += t.elapsed(); |
38 | return ret; | 39 | return ret; |
39 | } | 40 | } |