aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/cdaudio/decodercdaudiofactory.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-09-07 22:08:54 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-09-07 22:08:54 +0000
commit1e31fe896524513577911e382897b841e40a4814 (patch)
tree153483337dcab82e0bc32cc19f7876a7eb9593c7 /src/plugins/Input/cdaudio/decodercdaudiofactory.cpp
parent1d6f69e20769d902a70001277199129361d0a761 (diff)
downloadqmmp-1e31fe896524513577911e382897b841e40a4814.tar.gz
qmmp-1e31fe896524513577911e382897b841e40a4814.tar.bz2
qmmp-1e31fe896524513577911e382897b841e40a4814.zip
removed foreach macro
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9067 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/cdaudio/decodercdaudiofactory.cpp')
-rw-r--r--src/plugins/Input/cdaudio/decodercdaudiofactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Input/cdaudio/decodercdaudiofactory.cpp b/src/plugins/Input/cdaudio/decodercdaudiofactory.cpp
index f861b8d22..f9e28d413 100644
--- a/src/plugins/Input/cdaudio/decodercdaudiofactory.cpp
+++ b/src/plugins/Input/cdaudio/decodercdaudiofactory.cpp
@@ -61,7 +61,7 @@ QList<TrackInfo *> DecoderCDAudioFactory::createPlayList(const QString &path, Tr
QString device_path = path;
device_path.remove("cdda://");
QList <CDATrack> tracks = DecoderCDAudio::generateTrackList(device_path, parts);
- foreach(CDATrack t, tracks)
+ for(const CDATrack &t : qAsConst(tracks))
{
list << new TrackInfo(t.info);
}