Commit 18150a8f authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Dont reconstruct the same i18n string everytime without any reason

parent 21f59407
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment