aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp')
-rw-r--r--src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp b/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp
index 4b5bba8eb..e3e891f59 100644
--- a/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp
+++ b/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp
@@ -79,7 +79,7 @@ QString PlayListOption::executeCommand(int id, const QStringList &args)
<< helpString(PL_SHUFFLE_TOGGLE)
<< helpString(PL_STATE);
- foreach (QString line, list)
+ for(const QString &line : qAsConst(list))
out += CommandLineManager::formatHelpString(line) + "\n";
}
break;