diff --git a/src/libtomahawk/accounts/SpotifyAccount.cpp b/src/libtomahawk/accounts/SpotifyAccount.cpp index b0567019e..03f1ba64e 100644 --- a/src/libtomahawk/accounts/SpotifyAccount.cpp +++ b/src/libtomahawk/accounts/SpotifyAccount.cpp @@ -1,6 +1,7 @@ /* === This file is part of Tomahawk Player - === * * Copyright 2010-2011, Leo Franchi + * Copyright 2010-2011, Hugo Lindström * * Tomahawk is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -88,7 +89,7 @@ SpotifyAccount::icon() const void SpotifyAccount::addPlaylist( const QString &qid, const QString& title, QList< Tomahawk::query_ptr > tracks ) { - Sync sync; +/* Sync sync; sync.id_ = qid; int index = m_syncPlaylists.indexOf( sync ); @@ -134,15 +135,14 @@ SpotifyAccount::addPlaylist( const QString &qid, const QString& title, QList< To } } - + */ } - -bool operator==( SpotifyAccount::Sync one, SpotifyAccount::Sync two ) +bool +operator==( Tomahawk::Accounts::SpotifyAccount::Sync one, Tomahawk::Accounts::SpotifyAccount::Sync two ) { if( one.id_ == two.id_ ) return true; return false; } - diff --git a/src/libtomahawk/accounts/SpotifyAccount.h b/src/libtomahawk/accounts/SpotifyAccount.h index 67bd97883..723971c69 100644 --- a/src/libtomahawk/accounts/SpotifyAccount.h +++ b/src/libtomahawk/accounts/SpotifyAccount.h @@ -1,6 +1,7 @@ /* === This file is part of Tomahawk Player - === * * Copyright 2010-2011, Leo Franchi + * Copyright 2010-2011, Hugo Lindström * * Tomahawk is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -78,8 +79,6 @@ public: private: QList m_syncPlaylists; - int m_sCount; - }; }