forked from qt-creator/qt-creator
Python: Move PyLSConfigureAssistant connection to the plugin
Change-Id: I2d3aecd10d8da7e7272ebca61c0fbeacbc257bd5 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "pythonproject.h"
|
||||
#include "pythonsettings.h"
|
||||
#include "pythonrunconfiguration.h"
|
||||
#include "pythonutils.h"
|
||||
|
||||
#include <coreplugin/fileiconprovider.h>
|
||||
|
||||
@@ -105,6 +106,9 @@ void PythonPlugin::extensionsInitialized()
|
||||
Core::FileIconProvider::registerIconOverlayForSuffix(imageFile, "py");
|
||||
|
||||
TaskHub::addCategory(PythonErrorTaskCategory, "Python", true);
|
||||
|
||||
connect(Core::EditorManager::instance(), &Core::EditorManager::documentOpened,
|
||||
this, &PyLSConfigureAssistant::documentOpened);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user