Skip to content

Commit

Permalink
WSpinny: reparent DlgCoverArtFullSize on xcb
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Oct 16, 2022
1 parent e3759aa commit 78644e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/widget/wspinny.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ WSpinny::~WSpinny() {
#endif
}

void WSpinny::setParent(QWidget* parent) {
QWidget::setParent(parent);
m_pDlgCoverArt->setParent(parent);
}

void WSpinny::onVinylSignalQualityUpdate(const VinylSignalQualityReport& report) {
#ifdef __VINYLCONTROL__
if (!m_bVinylActive || !m_bSignalActive) {
Expand Down
1 change: 1 addition & 0 deletions src/widget/wspinny.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class WSpinny : public QGLWidget, public WBaseWidget, public VinylSignalQualityL
void setup(const QDomNode& node, const SkinContext& context);
void dragEnterEvent(QDragEnterEvent *event) override;
void dropEvent(QDropEvent *event) override;
void setParent(QWidget* parent);

public slots:
void slotLoadTrack(TrackPointer);
Expand Down

0 comments on commit 78644e4

Please sign in to comment.