1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-30 19:15:08 +01:00

Use Qt's foreach instead of C++11 foreach, as it doesn't work with older versions of gcc

This commit is contained in:
Arnaud Bienner 2013-02-24 19:16:52 +01:00
parent df9fb6e000
commit b5b371ef6f

View File

@ -80,7 +80,7 @@ TagReaderReply* TagReaderClient::UpdateSongStatistics(const Song& metadata) {
}
void TagReaderClient::UpdateSongsStatistics(const SongList& songs) {
for (const Song& song : songs) {
foreach (const Song& song, songs) {
TagReaderReply* reply = UpdateSongStatistics(song);
connect(reply, SIGNAL(Finished(bool)), reply, SLOT(deleteLater()));
}