Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
c82a40b3
Commit
c82a40b3
authored
Oct 08, 2022
by
Eric Armbruster
🍁
Committed by
Christoph Cullmann
Oct 08, 2022
Browse files
filetree: set text of save actions
parent
73576bb3
Pipeline
#244107
passed with stage
in 21 minutes and 53 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
addons/filetree/katefiletreeplugin.cpp
View file @
c82a40b3
...
...
@@ -261,11 +261,13 @@ void KateFileTreePluginView::setupActions()
connect
(
aShowActive
,
&
QAction
::
triggered
,
this
,
&
KateFileTreePluginView
::
showActiveDocument
);
auto
aSave
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"filetree_save"
),
this
,
SLOT
(
slotDocumentSave
()));
aSave
->
setText
(
i18n
(
"Save"
));
aSave
->
setToolTip
(
i18n
(
"Save the current document"
));
aSave
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"document-save"
)));
auto
aSaveAs
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"filetree_save_as"
),
this
,
SLOT
(
slotDocumentSaveAs
()));
aSaveAs
->
setToolTip
(
i18n
(
"Save current document under new name"
));
aSave
->
setText
(
i18n
(
"Save As"
));
aSaveAs
->
setToolTip
(
i18n
(
"Save the current document under a new name"
));
aSaveAs
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"document-save-as"
)));
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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