aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest
diff options
context:
space:
mode:
authorFawzi Mohamed <fawzi.mohamed@theqtcompany.com>2014-12-04 18:00:40 +0100
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2014-12-05 05:50:52 +0100
commit6601789fd75dfe1abe294e45b97b5433a7f52465 (patch)
tree9832e7d289cd421b75d4fbdbf97186f8f42fb321 /src/qmltest
parente8338b8e861c8b94592c8e076c2b375814c0d791 (diff)
qttest: make findChild available only for QtTest 1.1
Change-Id: I4ceb1a969bd4296b82f899088b02b5e8cf100bcd Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qmltest')
-rw-r--r--src/qmltest/quicktestresult_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmltest/quicktestresult_p.h b/src/qmltest/quicktestresult_p.h
index 78d0501b7c..0da29e8bd4 100644
--- a/src/qmltest/quicktestresult_p.h
+++ b/src/qmltest/quicktestresult_p.h
@@ -139,7 +139,7 @@ public Q_SLOTS:
QObject *grabImage(QQuickItem *item);
- QObject *findChild(QObject *parent, const QString &objectName);
+ Q_REVISION(1) QObject *findChild(QObject *parent, const QString &objectName);
public:
// Helper functions for the C++ main() shell.