Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Ark
Commits
18bbee67
Commit
18bbee67
authored
Jul 31, 2020
by
Laurent Montel
😁
Browse files
Fix mem leak found by ASAN
parent
9393b0d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
part/part.cpp
View file @
18bbee67
...
...
@@ -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"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment