Use new FilePathAspect in a few more places

Change-Id: I910a802255c8d54a31313dcccb0d1a48ec577b7a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2023-05-15 18:32:22 +02:00
parent a928fee108
commit 95d21f3966
7 changed files with 11 additions and 16 deletions

View File

@@ -56,8 +56,8 @@ void CopilotPlugin::extensionsInitialized()
void CopilotPlugin::restartClient()
{
LanguageClient::LanguageClientManager::shutdownClient(m_client);
m_client = new CopilotClient(CopilotSettings::instance().nodeJsPath.filePath(),
CopilotSettings::instance().distPath.filePath());
m_client = new CopilotClient(CopilotSettings::instance().nodeJsPath(),
CopilotSettings::instance().distPath());
}
} // namespace Internal