forked from qt-creator/qt-creator
Python: close all info bars after language server setup
Change-Id: I607f7cb5a31f3db0c7d7d77011860a1ea87eb8d2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -51,6 +51,8 @@ namespace Internal {
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
static PythonPlugin *m_instance = nullptr;
|
||||
|
||||
class PythonPluginPrivate
|
||||
{
|
||||
public:
|
||||
@@ -65,11 +67,22 @@ public:
|
||||
};
|
||||
};
|
||||
|
||||
PythonPlugin::PythonPlugin()
|
||||
{
|
||||
m_instance = this;
|
||||
}
|
||||
|
||||
PythonPlugin::~PythonPlugin()
|
||||
{
|
||||
m_instance = nullptr;
|
||||
delete d;
|
||||
}
|
||||
|
||||
PythonPlugin *PythonPlugin::instance()
|
||||
{
|
||||
return m_instance;
|
||||
}
|
||||
|
||||
bool PythonPlugin::initialize(const QStringList &arguments, QString *errorMessage)
|
||||
{
|
||||
Q_UNUSED(arguments)
|
||||
|
||||
Reference in New Issue
Block a user