Doc: Clarify ownership of added menu for QMenuBar::addMenu(QMenu *)
Change-Id: Iaafba9557ece36607c86d5be4fbb5e4ac2e459d3 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>bb10
parent
8339ce2155
commit
5272c35073
|
|
@ -851,7 +851,8 @@ QMenu *QMenuBar::addMenu(const QIcon &icon, const QString &title)
|
|||
}
|
||||
|
||||
/*!
|
||||
Appends \a menu to the menu bar. Returns the menu's menuAction().
|
||||
Appends \a menu to the menu bar. Returns the menu's menuAction(). The menu bar
|
||||
does not take ownership of the menu.
|
||||
|
||||
\note The returned QAction object can be used to hide the corresponding
|
||||
menu.
|
||||
|
|
|
|||
Loading…
Reference in New Issue