mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-24 07:55:35 +08:00
Ref T103, plugin directory now from CDirectoryUtils::pluginDirectory()
Hence we can use const QString & like const QString &CPluginManagerWeatherData::pluginDirectory()
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a9198e4f13
commit
3245ff4ef4
@@ -50,9 +50,9 @@ namespace BlackCore
|
||||
return m_configs.contains(identifier) ? m_configs.value(identifier) : QString();
|
||||
}
|
||||
|
||||
QString IPluginManager::pluginDirectory() const
|
||||
const QString &IPluginManager::pluginDirectory() const
|
||||
{
|
||||
return CDirectoryUtils::binDirectory() % QStringLiteral("/plugins");
|
||||
return CDirectoryUtils::pluginsDirectory();
|
||||
}
|
||||
|
||||
bool IPluginManager::isValid(const QJsonObject &metadata) const
|
||||
|
||||
Reference in New Issue
Block a user