Commit ef30bf94 authored by Matthias Kretz's avatar Matthias Kretz

QBuffer's data got invalid after the QByteArray went out of scope

svn path=/trunk/KDE/kdemultimedia/juk/; revision=536842
parent e6ef080b
......@@ -281,6 +281,7 @@ void Cache::load()
s >> version;
QBuffer buffer;
QByteArray data;
// Do the version specific stuff.
......@@ -289,7 +290,6 @@ void Cache::load()
Q_INT32 checksum;
QByteArray data;
s >> checksum
>> data;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment