Commit b36b5ccb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add parent to menu

parent b80a3c49
Pipeline #70584 failed with stage
in 3 minutes and 52 seconds
......@@ -83,7 +83,7 @@ MainWindow::MainWindow(QWidget *parent)
void MainWindow::updateHamburgerMenu()
{
QMenu *menu = new QMenu;
QMenu *menu = new QMenu(this);
menu->addAction(actionCollection()->action(QLatin1String(KStandardAction::name(KStandardAction::Quit))));
mHamburgerMenu->setMenu(menu);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment