diff options
| author | Christian Kandeler <christian.kandeler@qt.io> | 2025-04-16 16:36:15 +0200 |
|---|---|---|
| committer | Christian Kandeler <christian.kandeler@qt.io> | 2025-04-17 08:25:21 +0000 |
| commit | 6eac0aa88681ac59ab0d73fefa6390b2d463006c (patch) | |
| tree | 1dd39546cab84b6d682676af09fc96b40580704e /src/plugins/python/pythonlanguageclient.cpp | |
| parent | 1b151652ee60c50dce634df353fc7a955c29b1c2 (diff) | |
Fix some compiler warnings
Change-Id: Ibd2ab0fc9ceac9b59f64d4501188601e40fe6893
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/python/pythonlanguageclient.cpp')
| -rw-r--r-- | src/plugins/python/pythonlanguageclient.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/python/pythonlanguageclient.cpp b/src/plugins/python/pythonlanguageclient.cpp index a161f98db4c..a0bf223092a 100644 --- a/src/plugins/python/pythonlanguageclient.cpp +++ b/src/plugins/python/pythonlanguageclient.cpp @@ -266,8 +266,10 @@ void PyLSClient::updateExtraCompilers(ProjectExplorer::Project *project, &QObject::destroyed, this, [this, extraCompiler, file = extraCompiler->targets().constFirst()]() { - for (QList<ProjectExplorer::ExtraCompiler *> &extraCompilers : m_extraCompilers) + for (QList<ProjectExplorer::ExtraCompiler *> &extraCompilers : + m_extraCompilers) { QTC_CHECK(extraCompilers.removeAll(extraCompiler) == 0); + } closeExtraCompiler(extraCompiler, file); }); |
