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
1a7b0135
Commit
1a7b0135
authored
Nov 04, 2022
by
Eric Armbruster
🍁
Browse files
Use breakpoint icon for breakpoints
parent
2c899011
Pipeline
#262411
passed with stage
in 5 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
addons/gdbplugin/plugin_kategdb.cpp
View file @
1a7b0135
...
...
@@ -232,7 +232,7 @@ KatePluginGDBView::KatePluginGDBView(KTextEditor::Plugin *plugin, KTextEditor::M
a
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"toggle_breakpoint"
));
a
->
setText
(
i18n
(
"Toggle Breakpoint / Break"
));
a
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"
media-playback-pause
"
)));
a
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"
breakpoint
"
)));
actionCollection
()
->
setDefaultShortcut
(
a
,
QKeySequence
((
Qt
::
SHIFT
|
Qt
::
Key_F11
)));
connect
(
a
,
&
QAction
::
triggered
,
this
,
&
KatePluginGDBView
::
slotToggleBreakpoint
);
...
...
@@ -830,7 +830,7 @@ void KatePluginGDBView::enableBreakpointMarks(KTextEditor::Document *document)
if
(
iface
)
{
iface
->
setEditableMarks
(
iface
->
editableMarks
()
|
KTextEditor
::
MarkInterface
::
BreakpointActive
);
iface
->
setMarkDescription
(
KTextEditor
::
MarkInterface
::
BreakpointActive
,
i18n
(
"Breakpoint"
));
iface
->
setMarkIcon
(
KTextEditor
::
MarkInterface
::
BreakpointActive
,
QIcon
::
fromTheme
(
QStringLiteral
(
"
media-playback-pause
"
)));
iface
->
setMarkIcon
(
KTextEditor
::
MarkInterface
::
BreakpointActive
,
QIcon
::
fromTheme
(
QStringLiteral
(
"
breakpoint
"
)));
}
}
...
...
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