Commit 4eba2b2a authored by Milian Wolff's avatar Milian Wolff
Browse files

Cleanup: remove get prefix

parent 3e9ba992
......@@ -34,7 +34,7 @@
namespace KDevelop {
ColorCache* ColorCache::m_self = nullptr;
CodeHighlightingType getHighlightingTypeFromName(const QString& name)
CodeHighlightingType highlightingTypeFromName(const QString& name)
{
if (name == QLatin1String("Class")) {
return CodeHighlightingType::Class;
......@@ -264,7 +264,7 @@ bool ColorCache::updateColorsFromTheme(const KSyntaxHighlighting::Theme& theme)
bool anyAttrChanged = false;
for (const auto& format : formats) {
const auto type = getHighlightingTypeFromName(format.name());
const auto type = highlightingTypeFromName(format.name());
const auto attr = m_defaultColors->attribute(type);
auto forwardProperty = [&](auto formatGetter, auto attrProperty, auto attrSetter) {
......
Supports Markdown
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