Commit 18bbee67 authored by Laurent Montel's avatar Laurent Montel 😁

Fix mem leak found by ASAN

parent 9393b0d8
......@@ -357,7 +357,7 @@ void Part::setupActions()
connect(m_showInfoPanelAction, &QAction::triggered,
this, &Part::slotToggleInfoPanel);
m_saveAsAction = KStandardAction::saveAs(this, &Part::slotSaveAs, nullptr);
m_saveAsAction = KStandardAction::saveAs(this, &Part::slotSaveAs, this);
actionCollection()->addAction(QStringLiteral("ark_file_save_as"), m_saveAsAction);
m_openFileAction = actionCollection()->addAction(QStringLiteral("openfile"));
......
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