Accessibility: remove redundant role function

The role is already set through the ctor,
no need to explicitly do it again.

Change-Id: I0027068c66b5771b628a9fe10fbfe929e7bf1554
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
This commit is contained in:
Frederik Gladhorn 2012-10-19 15:08:42 +02:00 committed by The Qt Project
parent e6258e390a
commit b36e254e41
2 changed files with 0 additions and 6 deletions

View File

@ -592,11 +592,6 @@ int QAccessibleDockWidget::indexOfChild(const QAccessibleInterface *child) const
return -1; return -1;
} }
QAccessible::Role QAccessibleDockWidget::role() const
{
return QAccessible::Window;
}
QRect QAccessibleDockWidget::rect() const QRect QAccessibleDockWidget::rect() const
{ {
QRect rect; QRect rect;

View File

@ -275,7 +275,6 @@ public:
int indexOfChild(const QAccessibleInterface *child) const; int indexOfChild(const QAccessibleInterface *child) const;
int childCount() const; int childCount() const;
QRect rect () const; QRect rect () const;
QAccessible::Role role() const;
QDockWidget *dockWidget() const; QDockWidget *dockWidget() const;
}; };