Emit scanfinished when the library is empty
This commit is contained in:
parent
f2e6d665f3
commit
5df8471ad6
|
@ -426,6 +426,7 @@ void SubsonicLibraryScanner::OnGetAlbumListFinished(QNetworkReply* reply,
|
|||
} else if (album_queue_.size() == 0) {
|
||||
// Empty reply and no albums means an empty Subsonic server
|
||||
scanning_ = false;
|
||||
emit ScanFinished();
|
||||
} else {
|
||||
// Empty reply but we have some albums, time to start fetching songs
|
||||
// Start up the maximum number of concurrent requests, finished requests get
|
||||
|
|
Loading…
Reference in New Issue