Formatting
This commit is contained in:
@@ -87,8 +87,9 @@ QUrl SubsonicBaseRequest::CreateUrl(const QString &ressource_name, const QList<P
|
||||
if (!url.path().isEmpty() && url.path().right(1) == "/") {
|
||||
url.setPath(url.path() + QString("rest/") + ressource_name + QString(".view"));
|
||||
}
|
||||
else
|
||||
else {
|
||||
url.setPath(url.path() + QString("/rest/") + ressource_name + QString(".view"));
|
||||
}
|
||||
|
||||
url.setQuery(url_query);
|
||||
|
||||
|
||||
@@ -307,7 +307,7 @@ void SubsonicRequest::AlbumsFinishCheck(const int offset, const int size, const
|
||||
|
||||
if (albums_requests_queue_.isEmpty() && albums_requests_active_ <= 0) { // Albums list is finished, get songs for all albums.
|
||||
|
||||
for (QHash<QString, Request> ::iterator it = album_songs_requests_pending_.begin() ; it != album_songs_requests_pending_.end() ; ++it) {
|
||||
for (QHash<QString, Request> ::iterator it = album_songs_requests_pending_.begin(); it != album_songs_requests_pending_.end(); ++it) {
|
||||
Request request = it.value();
|
||||
AddAlbumSongsRequest(request.artist_id, request.album_id, request.album_artist);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user