Commit c965804e authored by Laurent Montel's avatar Laurent Montel 😁

Start to fix compile (strange moc file generated)

svn path=/trunk/KDE/kdemultimedia/juk/; revision=462154
parent 5e39bc26
......@@ -23,7 +23,6 @@
#include <q3hbox.h>
#include <q3vbox.h>
#include <qlayout.h>
#include <qhbuttongroup.h>
//Added by qt3to4:
#include <QHBoxLayout>
#include <QBoxLayout>
......
......@@ -207,7 +207,7 @@ void Cache::savePlaylists(const PlaylistList &playlists)
return;
QByteArray data;
QDataStream s(data, QIODevice::WriteOnly);
QDataStream s(&data, QIODevice::WriteOnly);
for(PlaylistList::ConstIterator it = playlists.begin(); it != playlists.end(); ++it) {
if(*it) {
......
......@@ -56,7 +56,7 @@ class CacheDataStream : public QDataStream
{
public:
CacheDataStream(QIODevice *d) : QDataStream(d), m_cacheVersion(0) {}
CacheDataStream(QByteArray &a, int mode) : QDataStream(a, mode), m_cacheVersion(0) {}
CacheDataStream(QByteArray &a, int mode) : QDataStream(&a, mode), m_cacheVersion(0) {}
virtual ~CacheDataStream() {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment