mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +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
@@ -65,9 +65,9 @@ namespace BlackCore
|
||||
};
|
||||
}
|
||||
|
||||
QString CPluginManagerWeatherData::pluginDirectory() const
|
||||
const QString &CPluginManagerWeatherData::pluginDirectory() const
|
||||
{
|
||||
return CDirectoryUtils::binDirectory() % QStringLiteral("/plugins/weatherdata");
|
||||
static const QString d(CFileUtils::appendFilePaths(CDirectoryUtils::pluginsDirectory(), "weatherdata"));
|
||||
return d;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user