aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-10-07 21:17:36 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-10-07 21:17:36 +0000
commitbe8175313645542ae50e175a0b72c611e9178ae1 (patch)
tree62f95bbc38e5327be81cb0bf904f2710404629e4 /src/plugins/General/scrobbler
parent968048296c2d2650a6083a5d99ea3914352958e1 (diff)
downloadqmmp-be8175313645542ae50e175a0b72c611e9178ae1.tar.gz
qmmp-be8175313645542ae50e175a0b72c611e9178ae1.tar.bz2
qmmp-be8175313645542ae50e175a0b72c611e9178ae1.zip
fixed build regression
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7519 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/scrobbler')
-rw-r--r--src/plugins/General/scrobbler/scrobblercache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/scrobbler/scrobblercache.cpp b/src/plugins/General/scrobbler/scrobblercache.cpp
index 70f2f8f7b..5a4475062 100644
--- a/src/plugins/General/scrobbler/scrobblercache.cpp
+++ b/src/plugins/General/scrobbler/scrobblercache.cpp
@@ -123,7 +123,7 @@ QList<SongInfo> ScrobblerCache::load()
while (!file.atEnd())
{
- line = QString::fromUtf8(file.readLine()).trimmed();
+ line = QString::fromUtf8(file.readLine().constData()).trimmed();
if ((s = line.indexOf("=")) < 0)
continue;