Support dragging folder of music files onto playqueue.

Closes #1181
This commit is contained in:
Craig Drummond
2018-01-31 20:09:57 +00:00
parent ecbdd741b1
commit 60270f5eef
3 changed files with 27 additions and 7 deletions

View File

@@ -235,7 +235,7 @@ QByteArray HttpServer::encodeUrl(const QString &file)
#endif
s.file=file;
#endif
return encodeUrl(s);
return s.isEmpty() ? QByteArray() : encodeUrl(s);
}
Song HttpServer::decodeUrl(const QString &url) const