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
Kate
Commits
18150a8f
Commit
18150a8f
authored
Dec 31, 2020
by
Waqar Ahmed
Committed by
Christoph Cullmann
Jan 01, 2021
Browse files
Dont reconstruct the same i18n string everytime without any reason
parent
21f59407
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/search/plugin_search.cpp
View file @
18150a8f
...
...
@@ -934,7 +934,8 @@ void KatePluginSearchView::addMatchMark(KTextEditor::Document *doc, KTextEditor:
#endif
if
(
!
iface
)
return
;
iface
->
setMarkDescription
(
KTextEditor
::
MarkInterface
::
markType32
,
QLatin1String
(
""
));
static
const
auto
description
=
i18n
(
"SearchHighLight"
);
iface
->
setMarkDescription
(
KTextEditor
::
MarkInterface
::
markType32
,
description
);
#if KTEXTEDITOR_VERSION >= QT_VERSION_CHECK(5, 69, 0)
iface
->
setMarkIcon
(
KTextEditor
::
MarkInterface
::
markType32
,
QIcon
());
#else
...
...
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