Commit 617e4254 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add parent to qmenu

(cherry picked from commit 1e41e97f)
parent d92a7011
Pipeline #70587 failed with stage
in 3 minutes and 38 seconds
...@@ -89,7 +89,7 @@ void MainWindow::initActions() ...@@ -89,7 +89,7 @@ void MainWindow::initActions()
void MainWindow::updateHamburgerMenu() void MainWindow::updateHamburgerMenu()
{ {
QMenu *menu = new QMenu; QMenu *menu = new QMenu(this);
menu->addAction(actionCollection()->action(QStringLiteral("akonadi_resource_create"))); menu->addAction(actionCollection()->action(QStringLiteral("akonadi_resource_create")));
menu->addSeparator(); menu->addSeparator();
......
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