Fix crash if try to expand dirble and --no-network passed to Cantata.

This commit is contained in:
Craig Drummond
2018-05-11 17:37:09 +01:00
parent 1978c743f4
commit b4a4f5a6ab
2 changed files with 4 additions and 0 deletions

View File

@@ -33,6 +33,7 @@
25. Allow adding Jamendo/Magnatune tracks to stored playlists.
26. Add "--collection" commandline option to control the initial collection to
use.
27. Fix crash if try to expand dirble and --no-network passed to Cantata.
2.3.0
-----

View File

@@ -140,6 +140,9 @@ bool ApiKeys::isLimitReached(const QNetworkReply *job, Service srv)
if (isLimitReached(srv)) {
return true;
}
if (!job) {
return false;
}
bool reached = false;
switch (srv) {