summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/testlib/qtestaccessible.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/testlib/qtestaccessible.h b/src/testlib/qtestaccessible.h
index f27651c3ad..ef6f61bd82 100644
--- a/src/testlib/qtestaccessible.h
+++ b/src/testlib/qtestaccessible.h
@@ -253,12 +253,10 @@ private:
{
QString rc;
QDebug str = QDebug(&rc).nospace();
- str << "Event " << needle->object() << ", type: "
- << needle->type() << ", child: " << needle->child()
- << " not found at head of event list of size " << haystack.size() << " :";
+ str << "Event " << *needle
+ << " not found at head of event list of size " << haystack.size() << " :";
Q_FOREACH (const QAccessibleEvent *e, haystack)
- str << ' ' << e->object() << ", type: "
- << e->type() << ", child: " << e->child();
+ str << ' ' << *e;
return rc;
}