summaryrefslogtreecommitdiffstats
path: root/src/widget
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2020-04-18 18:09:32 +0200
committerUwe Klotz <uklotz@mixxx.org>2020-04-18 18:09:32 +0200
commitfb5994b94d5e4515fb31bc73c9bdc334af74c54b (patch)
treee71a768b4bd9cfff583429c0071e9382336d6f10 /src/widget
parentee3593f120884393b5580fecc11d2551589494b3 (diff)
Fix more forward declaration issues
Diffstat (limited to 'src/widget')
-rw-r--r--src/widget/wtrackproperty.cpp4
-rw-r--r--src/widget/wtrackproperty.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/widget/wtrackproperty.cpp b/src/widget/wtrackproperty.cpp
index 294102a27e..d1e1cdfcf6 100644
--- a/src/widget/wtrackproperty.cpp
+++ b/src/widget/wtrackproperty.cpp
@@ -30,6 +30,10 @@ WTrackProperty::WTrackProperty(QWidget* pParent,
setAcceptDrops(true);
}
+WTrackProperty::~WTrackProperty() {
+ // Required to allow forward declaration of WTrackMenu in header
+}
+
void WTrackProperty::setup(const QDomNode& node, const SkinContext& context) {
WLabel::setup(node, context);
diff --git a/src/widget/wtrackproperty.h b/src/widget/wtrackproperty.h
index e66ac282bb..138026d758 100644
--- a/src/widget/wtrackproperty.h
+++ b/src/widget/wtrackproperty.h
@@ -11,6 +11,7 @@
#include "widget/trackdroptarget.h"
#include "widget/wlabel.h"
+class TrackCollectionManager;
class WTrackMenu;
class WTrackProperty : public WLabel, public TrackDropTarget {
@@ -21,8 +22,7 @@ class WTrackProperty : public WLabel, public TrackDropTarget {
UserSettingsPointer pConfig,
TrackCollectionManager* pTrackCollectionManager,
const char* group);
-
- ~WTrackProperty() override = default;
+ ~WTrackProperty() override;
void setup(const QDomNode& node, const SkinContext& context) override;