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
committed by Craig Drummond
parent c767a9b2f5
commit 1a2354904a
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