mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-28 18:40:52 +01:00
Fixed some problems reported by cpplint.py, changed foreach to for in files touched by me mkII
This commit is contained in:
parent
f7be18b326
commit
6ea793f446
@ -141,7 +141,7 @@ void PodcastBackend::UpdateEpisodes(const PodcastEpisodeList& episodes) {
|
|||||||
" local_url = :local_url"
|
" local_url = :local_url"
|
||||||
" WHERE ROWID = :id", db);
|
" WHERE ROWID = :id", db);
|
||||||
|
|
||||||
foreach (const PodcastEpisode& episode, episodes) {
|
for (const PodcastEpisode& episode : episodes) {
|
||||||
q.bindValue(":listened", episode.listened());
|
q.bindValue(":listened", episode.listened());
|
||||||
q.bindValue(":listened_date", episode.listened_date().toTime_t());
|
q.bindValue(":listened_date", episode.listened_date().toTime_t());
|
||||||
q.bindValue(":downloaded", episode.downloaded());
|
q.bindValue(":downloaded", episode.downloaded());
|
||||||
|
Loading…
Reference in New Issue
Block a user