aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/scrobblercache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/scrobbler/scrobblercache.cpp')
-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;