mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Fix crash from loading invalid entries from cache
This commit is contained in:
parent
285498d638
commit
10bb33590b
@ -251,6 +251,8 @@ ACLRegistry::load()
|
||||
continue;
|
||||
tDebug() << Q_FUNC_INFO << "loading entry";
|
||||
ACLRegistry::User entryUser = entry.value< ACLRegistry::User >();
|
||||
if ( entryUser.knownAccountIds.empty() || entryUser.knownDbids.empty() )
|
||||
continue;
|
||||
m_cache.append( entryUser );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user