Emit scanfinished when the library is empty

This commit is contained in:
Chocobozzz 2015-02-06 11:23:57 +01:00
parent f2e6d665f3
commit 5df8471ad6
1 changed files with 1 additions and 0 deletions

View File

@ -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