mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
avoid temporary in QMainWindow::menuWidget()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
a23b0f22a9
commit
c546a576f0
1 changed files with 1 additions and 2 deletions
|
@ -459,8 +459,7 @@ void QMainWindow::setMenuBar(QMenuBar *menuBar)
|
|||
*/
|
||||
QWidget *QMainWindow::menuWidget() const
|
||||
{
|
||||
QWidget *menuBar = d_func()->layout->menuBar();
|
||||
return menuBar;
|
||||
return d_func()->layout->menuBar();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Add table
Reference in a new issue