1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 16:14:40 +02:00

No more warnings in tomahawk code

This commit is contained in:
Uwe L. Korn
2013-06-16 16:25:39 +02:00
committed by Michael Zanetti
parent ace775d6a6
commit 67fc355f16
3 changed files with 16 additions and 0 deletions

View File

@@ -25,6 +25,11 @@
#include "utils/Logger.h"
#include "TomahawkSettings.h"
// Forward Declarations breaking QSharedPointer
#if QT_VERSION < QT_VERSION_CHECK( 5, 0, 0 )
#include "Source.h"
#endif
// remove now playing status after PAUSE_TIMEOUT seconds
static const int PAUSE_TIMEOUT = 10;

View File

@@ -27,6 +27,11 @@
#include "../../InfoPluginDllMacro.h"
// Forward Declarations breaking QSharedPointer
#if QT_VERSION < QT_VERSION_CHECK( 5, 0, 0 )
#include "PlaylistInterface.h"
#endif
#include <QObject>
#include <QVariant>

View File

@@ -21,6 +21,12 @@
#include "audio/AudioEngine.h"
#include "utils/Logger.h"
// Forward Declarations breaking QSharedPointer
#if QT_VERSION < QT_VERSION_CHECK( 5, 0, 0 )
#include "Query.h"
#endif
using namespace Tomahawk;