Skip to content

Commit

Permalink
Merge pull request #13182 from ronso0/coverart-click-fix
Browse files Browse the repository at this point in the history
(fix) WCoverArt: popup on click release
  • Loading branch information
daschuer committed Apr 30, 2024
2 parents c195852 + ff3f3f0 commit 906a059
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/widget/wcoverart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ void WCoverArt::mouseReleaseEvent(QMouseEvent* pEvent) {
return;
}

if (pEvent->buttons() == Qt::LeftButton && m_loadedTrack &&
if (pEvent->button() == Qt::LeftButton &&
m_loadedTrack &&
m_clickTimer.isActive()) { // init/close fullsize cover
if (m_pDlgFullSize->isVisible()) {
m_pDlgFullSize->close();
Expand Down

0 comments on commit 906a059

Please sign in to comment.