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:
parent
df9fb6e000
commit
b5b371ef6f
@ -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()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user