1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-28 10:30:38 +01:00

Fixed some problems reported by cpplint.py, changed foreach to for in files touched by me mkII

This commit is contained in:
Krzysztof A. Sobiecki 2014-01-25 10:56:56 +01:00
parent f7be18b326
commit 6ea793f446

View File

@ -141,7 +141,7 @@ void PodcastBackend::UpdateEpisodes(const PodcastEpisodeList& episodes) {
" local_url = :local_url"
" WHERE ROWID = :id", db);
foreach (const PodcastEpisode& episode, episodes) {
for (const PodcastEpisode& episode : episodes) {
q.bindValue(":listened", episode.listened());
q.bindValue(":listened_date", episode.listened_date().toTime_t());
q.bindValue(":downloaded", episode.downloaded());