forked from qt-creator/qt-creator
ExtensionSystem: FilePath'ify
Change IPlugin::fileName() and IPlugin::location to use FilePath instead of QString. Change-Id: If473ab1e258951735f93221cbd62c505f0727eb2 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -62,8 +62,8 @@ public:
|
||||
|
||||
bool delayedInitialize() final
|
||||
{
|
||||
scanForPlugins(transform(PluginManager::pluginPaths(), [](const QString &path) -> FilePath {
|
||||
return FilePath::fromUserInput(path) / "lua-plugins";
|
||||
scanForPlugins(transform(PluginManager::pluginPaths(), [](const FilePath &path) {
|
||||
return path / "lua-plugins";
|
||||
}));
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user