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:
parent
e6258e390a
commit
b36e254e41
@ -592,11 +592,6 @@ int QAccessibleDockWidget::indexOfChild(const QAccessibleInterface *child) const
|
||||
return -1;
|
||||
}
|
||||
|
||||
QAccessible::Role QAccessibleDockWidget::role() const
|
||||
{
|
||||
return QAccessible::Window;
|
||||
}
|
||||
|
||||
QRect QAccessibleDockWidget::rect() const
|
||||
{
|
||||
QRect rect;
|
||||
|
@ -275,7 +275,6 @@ public:
|
||||
int indexOfChild(const QAccessibleInterface *child) const;
|
||||
int childCount() const;
|
||||
QRect rect () const;
|
||||
QAccessible::Role role() const;
|
||||
|
||||
QDockWidget *dockWidget() const;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user