mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-18 11:39:31 +01:00
Only connect ClearPixmapDiskCache if app is set
This commit is contained in:
parent
37cf0c2fb6
commit
b0966f14e6
@ -139,7 +139,9 @@ CollectionModel::CollectionModel(CollectionBackend *backend, Application *app, Q
|
||||
backend_->UpdateTotalArtistCountAsync();
|
||||
backend_->UpdateTotalAlbumCountAsync();
|
||||
|
||||
if (app_) {
|
||||
connect(app_, SIGNAL(ClearPixmapDiskCache()), SLOT(ClearDiskCache()));
|
||||
}
|
||||
|
||||
ReloadSettings();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user