From ebcc41ed729bb6edaefc5b2c229ca3eedd137478 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 22 Dec 2012 13:26:10 -0800 Subject: [PATCH] Make qtestaccessible.h compile with QT_NO_KEYWORDS Change-Id: I2065be84d69db62cdae1ad6ac66a09fc5f3454eb Reviewed-by: Frederik Gladhorn --- src/testlib/qtestaccessible.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testlib/qtestaccessible.h b/src/testlib/qtestaccessible.h index b4603a776d..830c5346ed 100644 --- a/src/testlib/qtestaccessible.h +++ b/src/testlib/qtestaccessible.h @@ -256,7 +256,7 @@ private: str << "Event " << needle->object() << ", type: " << needle->type() << ", child: " << needle->child() << " not found at head of event list of size " << haystack.size() << " :"; - foreach (const QAccessibleEvent *e, haystack) + Q_FOREACH (const QAccessibleEvent *e, haystack) str << ' ' << e->object() << ", type: " << e->type() << ", child: " << e->child(); return rc;