forked from qt-creator/qt-creator
LanguageClient: unify client container
Change-Id: I17b5e7ca4999cd5a9ca8e79577f29854082b6c6b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -442,7 +442,7 @@ bool PyLSSettings::applyFromSettingsWidget(QWidget *widget)
|
||||
if (m_configuration != pylswidget->configuration()) {
|
||||
m_configuration = pylswidget->configuration();
|
||||
if (!changed) { // if only the settings configuration changed just send an update
|
||||
const QVector<Client *> clients = LanguageClientManager::clientForSetting(this);
|
||||
const QList<Client *> clients = LanguageClientManager::clientForSetting(this);
|
||||
for (Client *client : clients)
|
||||
client->updateConfiguration(configuration());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user