Fix compile error
This commit is contained in:
@@ -74,7 +74,7 @@ QUrl SubsonicBaseRequest::CreateUrl(const QString &ressource_name, const QList<P
|
||||
|
||||
QUrl url(server_url());
|
||||
|
||||
if (url.path().right(1) == '/') {
|
||||
if (!url.path().isEmpty() && url.path().right(1) == "/") {
|
||||
url.setPath(url.path() + QString("rest/") + ressource_name);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user