diff options
author | Jan Arve Saether <jan-arve.saether@digia.com> | 2014-09-25 11:40:21 +0200 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@theqtcompany.com> | 2014-10-21 08:05:24 +0200 |
commit | f08338614578db9d98d7496b2a338d0e2dddc1bb (patch) | |
tree | 2cb064b10aaf3bf0fcd32a97aa77333747ddbd6e /src/quick/accessible/qaccessiblequickview_p.h | |
parent | db16f3e56e73846bc70eab08869dfb57706db2bf (diff) |
Don't assume there is only one toplevel item.
With the upcoming introduction of unignoredChildren, there can
exist many top level items (if the root item is ignored).
Change-Id: If7aaea08fdd4d1f5a0a5109e1239c53e0af9b61e
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Diffstat (limited to 'src/quick/accessible/qaccessiblequickview_p.h')
-rw-r--r-- | src/quick/accessible/qaccessiblequickview_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/accessible/qaccessiblequickview_p.h b/src/quick/accessible/qaccessiblequickview_p.h index 44a3bc047b..f6da6ba25d 100644 --- a/src/quick/accessible/qaccessiblequickview_p.h +++ b/src/quick/accessible/qaccessiblequickview_p.h @@ -60,7 +60,7 @@ public: private: QQuickWindow *window() const { return static_cast<QQuickWindow*>(object()); } - QQuickItem *rootItem() const; + QList<QQuickItem *> rootItems() const; }; #endif // QT_NO_ACCESSIBILITY |