1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 01:09:42 +01:00

Revert echonest5/ header ifdefs

This commit is contained in:
Uwe L. Korn 2014-06-20 18:06:46 +01:00
parent 5a9c3d39c4
commit f394b80419
5 changed files with 7 additions and 22 deletions

View File

@ -32,13 +32,8 @@
#include "TomahawkSettings.h"
#include "Track.h"
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
#include <echonest/CatalogUpdateEntry.h>
#include <echonest/Config.h>
#else
#include <echonest5/CatalogUpdateEntry.h>
#include <echonest5/Config.h>
#endif
#include <echonest/CatalogUpdateEntry.h>
#include <echonest/Config.h>
using namespace Tomahawk;

View File

@ -23,11 +23,7 @@
#include "Query.h"
#include "database/DatabaseCommand_TrackAttributes.h"
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
#include <echonest/Catalog.h>
#else
#include <echonest5/Catalog.h>
#endif
#include <echonest/Catalog.h>
#include <QObject>
#include <QQueue>

View File

@ -588,6 +588,8 @@ Playlist::setPlaylistRevisionFinished()
if ( d->queuedSetPlaylistRevisionCmds.length() > 0 )
{
DatabaseCommand_SetPlaylistRevision* cmd = d->queuedSetPlaylistRevisionCmds.dequeue();
// Update oldrev to currentRevision so that optimistic locking works correctly.
cmd->setOldrev( currentrevision() );
Database::instance()->enqueue( Tomahawk::dbcmd_ptr( cmd ) );
}
else

View File

@ -24,11 +24,7 @@
#include <QTimer>
#include <QPointer>
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
#include <echonest/Playlist.h>
#else
#include <echonest5/Playlist.h>
#endif
#include <echonest/Playlist.h>
namespace Tomahawk
{

View File

@ -28,11 +28,7 @@
#include "DllMacro.h"
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
#include <echonest/Playlist.h>
#else
#include <echonest5/Playlist.h>
#endif
#include <echonest/Playlist.h>
namespace Tomahawk
{