aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/appoutputpane.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2021-02-16 22:43:21 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2021-02-17 11:19:21 +0000
commitafc2fda8a9c094d680684c45174b6fe7bbc1f411 (patch)
tree5a227bcc16da883bb167f6d866bbe7f2b7c3d808 /src/plugins/projectexplorer/appoutputpane.cpp
parente4f260d5447760a099888372ccfe8aa5a3bd4a40 (diff)
ProjectExplorer: Use qAsConst w/ non-const Qt containers in range-loops
Change-Id: I6422b3e40a6925504a231be2d47b3214d86c6e06 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/appoutputpane.cpp')
-rw-r--r--src/plugins/projectexplorer/appoutputpane.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp
index 8eb808111f..5bb144d54e 100644
--- a/src/plugins/projectexplorer/appoutputpane.cpp
+++ b/src/plugins/projectexplorer/appoutputpane.cpp
@@ -754,7 +754,7 @@ void AppOutputPane::slotRunControlFinished()
{
auto *rc = qobject_cast<RunControl *>(sender());
QTimer::singleShot(0, this, [this, rc]() { slotRunControlFinished2(rc); });
- for (const RunControlTab &t : m_runControlTabs) {
+ for (const RunControlTab &t : qAsConst(m_runControlTabs)) {
if (t.runControl == rc) {
t.window->flush();
break;