Browse Source

Make function const

adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
41be7e9bbe
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/base/search/searchpluginmanager.cpp
  2. 2
      src/base/search/searchpluginmanager.h

2
src/base/search/searchpluginmanager.cpp

@ -366,7 +366,7 @@ QString SearchPluginManager::categoryFullName(const QString &categoryName) @@ -366,7 +366,7 @@ QString SearchPluginManager::categoryFullName(const QString &categoryName)
return categoryTable.value(categoryName);
}
QString SearchPluginManager::pluginFullName(const QString &pluginName)
QString SearchPluginManager::pluginFullName(const QString &pluginName) const
{
return pluginInfo(pluginName) ? pluginInfo(pluginName)->fullName : QString();
}

2
src/base/search/searchpluginmanager.h

@ -88,7 +88,7 @@ public: @@ -88,7 +88,7 @@ public:
static PluginVersion getPluginVersion(const Path &filePath);
static QString categoryFullName(const QString &categoryName);
QString pluginFullName(const QString &pluginName);
QString pluginFullName(const QString &pluginName) const;
static Path pluginsLocation();
static Path engineLocation();

Loading…
Cancel
Save