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:
hjk
2024-02-01 15:58:24 +01:00
parent 8dded168fd
commit df71c6a1f0
5 changed files with 47 additions and 47 deletions

View File

@@ -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"