forked from qt-creator/qt-creator
Python: Use setup function for remaining plugin items
... and remove the now-empty plugin pimpl. Change-Id: I0db27757e832a0e3ac52b938a4d6ad820adfc195 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -1193,6 +1193,12 @@ Interpreter PythonSettings::interpreter(const QString &interpreterId)
|
||||
Utils::equal(&Interpreter::id, interpreterId));
|
||||
}
|
||||
|
||||
void setupPythonSettings(QObject *guard)
|
||||
{
|
||||
new PythonSettings; // Initializes settingsInstance
|
||||
settingsInstance->setParent(guard);
|
||||
}
|
||||
|
||||
} // Python::Internal
|
||||
|
||||
#include "pythonsettings.moc"
|
||||
|
||||
Reference in New Issue
Block a user