mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Fix crash from loading invalid entries from cache
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user