forked from qt-creator/qt-creator
ExtensionSystem: Forward setEnabledBySettings to PluginSpec
Private part of PluginSpec is not accessible from plugins. Change-Id: Id5b8099777b58895b37b5a57c65ecc11a5228143 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -486,6 +486,11 @@ bool PluginSpec::requiresAny(const QSet<PluginSpec *> &plugins) const
|
||||
});
|
||||
}
|
||||
|
||||
void PluginSpec::setEnabledBySettings(bool value)
|
||||
{
|
||||
d->setEnabledBySettings(value);
|
||||
}
|
||||
|
||||
//==========PluginSpecPrivate==================
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -131,6 +131,8 @@ public:
|
||||
bool hasError() const;
|
||||
QString errorString() const;
|
||||
|
||||
void setEnabledBySettings(bool value);
|
||||
|
||||
private:
|
||||
PluginSpec();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user