Fix clearing sent in scrobbler cache
This commit is contained in:
@@ -235,7 +235,7 @@ void ScrobblerCache::ClearSent(const QList<quint64> &list) {
|
|||||||
|
|
||||||
for (const quint64 timestamp : list) {
|
for (const quint64 timestamp : list) {
|
||||||
if (!scrobbler_cache_.contains(timestamp)) continue;
|
if (!scrobbler_cache_.contains(timestamp)) continue;
|
||||||
ScrobblerCacheItemPtr item = scrobbler_cache_.take(timestamp);
|
ScrobblerCacheItemPtr item = scrobbler_cache_.value(timestamp);
|
||||||
item->sent_ = false;
|
item->sent_ = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user