diff --git a/src/skin/qml/qmlplayerproxy.h b/src/skin/qml/qmlplayerproxy.h index 7904c017eda..40329a966a8 100644 --- a/src/skin/qml/qmlplayerproxy.h +++ b/src/skin/qml/qmlplayerproxy.h @@ -1,11 +1,11 @@ #include #include +#include #include +#include "mixer/basetrackplayer.h" #include "track/track.h" -class BaseTrackPlayer; - namespace mixxx { namespace skin { namespace qml { @@ -86,7 +86,7 @@ class QmlPlayerProxy : public QObject { void colorChanged(); private: - BaseTrackPlayer* m_pTrackPlayer; + QPointer m_pTrackPlayer; TrackPointer m_pCurrentTrack; };