diff options
-rw-r--r-- | src/gui/accessible/qaccessible.cpp | 5 | ||||
-rw-r--r-- | src/gui/kernel/qevent.cpp | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/accessible/qaccessible.cpp b/src/gui/accessible/qaccessible.cpp index e908a4704a..e615dd8cb0 100644 --- a/src/gui/accessible/qaccessible.cpp +++ b/src/gui/accessible/qaccessible.cpp @@ -1085,14 +1085,15 @@ QPair< int, int > QAccessible::qAccessibleTextBoundaryHelper(const QTextCursor & relations, unless they are handled in a specific way such as in tree views. It will typically return the labelled-by and label relations. - It is possible to filter the relations by using the optional parameter. + It is possible to filter the relations by using the optional parameter \a match. It should never return itself. \sa parent(), child() */ QList<QPair<QAccessibleInterface*, QAccessible::Relation>> -QAccessibleInterface::relations(QAccessible::Relation /*match = QAccessible::AllRelations*/) const +QAccessibleInterface::relations(QAccessible::Relation match) const { + Q_UNUSED(match); return { }; } diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index 377a13153a..322e5aeb31 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -345,7 +345,7 @@ ulong QEventPoint::lastTimestamp() const { return d->lastTimestamp; } /*! - Sets the accepted state of the point. + Sets the accepted state of the point to \a accepted. In widget-based applications, this function is not used so far, because it's only meaningful for a widget to accept or reject a complete QInputEvent. |