mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Revert echonest5/ header ifdefs
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -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>
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user