Commit 9a98082f authored by Scott Wheeler's avatar Scott Wheeler

Make It Compile - Part II

CCMAIL:andy@athame.co.uk

svn path=/trunk/kdemultimedia/juk/; revision=224612
parent 422b7b9d
......@@ -291,9 +291,9 @@ void PlaylistItem::slotRefreshImpl()
setText(CommentColumn, shortComment);
}
#if HAVE_MUSICBRAINZ
void PlaylistItem::slotTagGuessResults(const MusicBrainzQuery::TrackList &res)
{
#if HAVE_MUSICBRAINZ
//FIXME:GUI to pick one of the results
if(res.count() == 0)
return;
......@@ -310,8 +310,10 @@ void PlaylistItem::slotTagGuessResults(const MusicBrainzQuery::TrackList &res)
tag()->save();
slotRefresh();
}
#else
Q_UNUSED(res)
#endif
}
////////////////////////////////////////////////////////////////////////////////
// PlaylistItem private methods
......
......@@ -26,7 +26,11 @@
#include <qobject.h>
#include <qptrstack.h>
#include "musicbrainzquery.h"
#if HAVE_MUSICBRAINZ == 0
// a bit of a hack so that the slots type definition is still valid
namespace MusicBrainzQuery { typedef int TrackList; }
#endif
#include "tag.h"
#include "cache.h"
......@@ -133,9 +137,7 @@ protected:
protected slots:
void slotRefreshImpl();
#if HAVE_MUSICBRAINZ
void slotTagGuessResults(const MusicBrainzQuery::TrackList &);
#endif
signals:
void signalRefreshed();
......
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