forked from qt-creator/qt-creator
ExtensionSystem: Move Installation logic into PluginSpecs
Change-Id: I5b6d284179bf62be89d6e5157fd7e14df5e65817 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -170,4 +170,12 @@ bool LuaPluginSpec::printToOutputPane() const
|
||||
return d->printToOutputPane;
|
||||
}
|
||||
|
||||
Utils::FilePath LuaPluginSpec::installLocation(bool inUserFolder) const
|
||||
{
|
||||
if (inUserFolder)
|
||||
return appInfo().userLuaPlugins;
|
||||
|
||||
return appInfo().luaPlugins;
|
||||
}
|
||||
|
||||
} // namespace Lua
|
||||
|
||||
Reference in New Issue
Block a user