forked from qt-creator/qt-creator
Copilot: robustify request logic
Change-Id: Ifa46bc05f0bab8e3c7fc40d855a35e940f0628da Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -8,8 +8,12 @@
|
||||
#include "copilotsettings.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
|
||||
#include <texteditor/texteditor.h>
|
||||
|
||||
using namespace Utils;
|
||||
using namespace Core;
|
||||
|
||||
namespace Copilot {
|
||||
namespace Internal {
|
||||
@@ -24,7 +28,7 @@ CopilotPlugin::~CopilotPlugin()
|
||||
|
||||
void CopilotPlugin::initialize()
|
||||
{
|
||||
CopilotSettings::instance().readSettings(Core::ICore::settings());
|
||||
CopilotSettings::instance().readSettings(ICore::settings());
|
||||
|
||||
m_client = new CopilotClient();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user