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:
@@ -71,8 +71,8 @@ expected_str<LuaPluginSpec *> LuaPluginSpec::create(const FilePath &filePath,
|
||||
if (!r)
|
||||
return make_unexpected(r.error());
|
||||
|
||||
pluginSpec->setFilePath(filePath.toUserOutput());
|
||||
pluginSpec->setLocation(filePath.parentDir().toUserOutput());
|
||||
pluginSpec->setFilePath(filePath);
|
||||
pluginSpec->setLocation(filePath.parentDir());
|
||||
|
||||
pluginSpec->d->pluginScriptPath = filePath;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user