Skip to content

Commit

Permalink
Fix warning when building assistant on macOS
Browse files Browse the repository at this point in the history
Follow up on QWidget::addAction changes in qtbase.

Pick-to: 6.3
Change-Id: I997e0597999b7dd8ba3cbbc1e955593effff829c
Reviewed-by: Marc Mutz <[email protected]>
  • Loading branch information
vohi committed Mar 18, 2022
1 parent e0649aa commit 71d79a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/assistant/assistant/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,8 +632,8 @@ void MainWindow::setupActions()
menuBar()->insertMenu(menu->menuAction(), windowMenu);
windowMenu->addAction(tr("Zoom"),
this, &QWidget::showMaximized);
windowMenu->addAction(tr("Minimize"),
this, &QWidget::showMinimized, QKeySequence(tr("Ctrl+M")));
windowMenu->addAction(tr("Minimize"), QKeySequence(tr("Ctrl+M")),
this, &QWidget::showMinimized);
#endif

// content viewer connections
Expand Down

0 comments on commit 71d79a3

Please sign in to comment.