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
a0e9ad5f
Commit
a0e9ad5f
authored
Oct 05, 2022
by
Eric Armbruster
🍁
Browse files
Use "and" over "&"
We use "and" elsewhere and we would need to escape "&" in the action text.
parent
3651601b
Pipeline
#241986
passed with stage
in 15 minutes and 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
addons/katebuild-plugin/plugin_katebuild.cpp
View file @
a0e9ad5f
...
...
@@ -143,7 +143,7 @@ KateBuildView::KateBuildView(KTextEditor::Plugin *plugin, KTextEditor::MainWindo
connect
(
a
,
&
QAction
::
triggered
,
this
,
&
KateBuildView
::
slotBuildDefaultTarget
);
a
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"build_and_run_default_target"
));
a
->
setText
(
i18n
(
"Build
&
Run Default Target"
));
a
->
setText
(
i18n
(
"Build
and
Run Default Target"
));
connect
(
a
,
&
QAction
::
triggered
,
this
,
&
KateBuildView
::
slotBuildAndRunDefaultTarget
);
a
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"build_previous_target"
));
...
...
addons/katebuild-plugin/targets.cpp
View file @
a0e9ad5f
...
...
@@ -51,7 +51,7 @@ TargetsUi::TargetsUi(QObject *view, QWidget *parent)
runButton
=
new
QToolButton
(
this
);
runButton
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"media-playback-start"
)));
runButton
->
setToolTip
(
i18n
(
"Build
&
run selected target"
));
runButton
->
setToolTip
(
i18n
(
"Build
and
run selected target"
));
targetsView
=
new
QTreeView
(
this
);
targetsView
->
setAlternatingRowColors
(
true
);
...
...
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