1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

Fix QUrl for Qt4

This commit is contained in:
Uwe L. Korn
2014-06-10 18:20:04 +01:00
parent 4bf85cbbaf
commit 70e2031f65

View File

@@ -36,7 +36,7 @@ CloudStream::CloudStream(const QUrl& url,
const long length, const QMap<QString, QString>& headers,
QNetworkAccessManager* network)
: url_(url),
encoded_filename_(url.fileName().toUtf8()),
encoded_filename_(url.path().toUtf8()),
length_(length),
headers_(headers),
cursor_(0),