summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonlanguageclient.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2022-05-12 09:51:39 +0200
committerDavid Schulz <david.schulz@qt.io>2022-05-20 06:35:47 +0000
commita493970e05affcd33b2d16c07580205a479eb30a (patch)
treec15fad432a23478833eedc75b457c3a75d112b5f /src/plugins/python/pythonlanguageclient.cpp
parent6511bcdd72dbd08e906b225b6063b25372a7b136 (diff)
downloadqt-creator-a493970e05affcd33b2d16c07580205a479eb30a.tar.gz
LanguageServerProtocol: remove IContent
Do not pretend to support multiple message types, while no other messages are actually implemented by us or even known to exist in the wild. Change-Id: I49ee2118b2e10f265ac641c195df8a9e5c97951c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/python/pythonlanguageclient.cpp')
-rw-r--r--src/plugins/python/pythonlanguageclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonlanguageclient.cpp b/src/plugins/python/pythonlanguageclient.cpp
index 887911e805..b65e4b9372 100644
--- a/src/plugins/python/pythonlanguageclient.cpp
+++ b/src/plugins/python/pythonlanguageclient.cpp
@@ -471,7 +471,7 @@ public:
DidChangeWorkspaceFoldersParams params;
params.setEvent(event);
DidChangeWorkspaceFoldersNotification change(params);
- sendContent(change);
+ sendMessage(change);
extraWorkspaceDirs.append(workspacePath);
}
}