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

Fix mem leak

parent bb3c2466
......@@ -530,7 +530,7 @@ struct MainWindow::Private {
});
#endif
auto alignWithSideBarWidgetAction = new AlignWithSideBarWidgetAction();
auto alignWithSideBarWidgetAction = new AlignWithSideBarWidgetAction(q);
alignWithSideBarWidgetAction->setSideBar(mSideBar);
actionCollection->addAction("align_with_sidebar", alignWithSideBarWidgetAction);
......
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