QAction: Fix the obsolete menu() doc
35ddf3498859dc184456346f2b070fe94dabaf26 added QMenu::menuInAction, but the documentation added to cover it contains a typo. The method added to replace QAction::menu() is menuInAction, not menuForAction. It was probably just an oversight. Change-Id: I2a6ec846bbe7ac8dd9e0c285bc62dd7e08820459 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit dedf11a53b664c6901dd8d9656e6d7e1fb051974) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
810c41093f
commit
6e55307def
@ -1191,7 +1191,7 @@ QAction::MenuRole QAction::menuRole() const
|
||||
|
||||
/*!
|
||||
\fn QMenu *QAction::menu() const
|
||||
\deprecated Use QMenu::menuForAction instead.
|
||||
\deprecated Use QMenu::menuInAction instead.
|
||||
|
||||
Returns the menu contained by this action.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user