summaryrefslogtreecommitdiffstats
path: root/src/manager-lib/quicklauncher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager-lib/quicklauncher.cpp')
-rw-r--r--src/manager-lib/quicklauncher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager-lib/quicklauncher.cpp b/src/manager-lib/quicklauncher.cpp
index da649677..5fbfc5ae 100644
--- a/src/manager-lib/quicklauncher.cpp
+++ b/src/manager-lib/quicklauncher.cpp
@@ -216,7 +216,7 @@ QPair<AbstractContainer *, AbstractRuntime *> QuickLauncher::take(const QString
void QuickLauncher::killAll()
{
for (auto entry = m_quickLaunchPool.begin(); entry != m_quickLaunchPool.end(); ++entry) {
- for (const auto &car : entry->m_containersAndRuntimes) {
+ for (const auto &car : qAsConst(entry->m_containersAndRuntimes)) {
if (car.second) {
car.second->stop(true);
delete car.second;