Merge pull request #4887 from TheUbuntuGuy/master
Fix context menu for the NowPlayingWidget in Windows
This commit is contained in:
commit
88bce5115f
@ -562,9 +562,9 @@ void NowPlayingWidget::contextMenuEvent(QContextMenuEvent* e) {
|
|||||||
menu_->popup(mapToGlobal(e->pos()));
|
menu_->popup(mapToGlobal(e->pos()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void NowPlayingWidget::mouseReleaseEvent(QMouseEvent*) {
|
void NowPlayingWidget::mouseReleaseEvent(QMouseEvent* e) {
|
||||||
// Same behaviour as right-click > Show Fullsize
|
// Same behaviour as right-click > Show Fullsize
|
||||||
if (!aww_ && !hypnotoad_.get()) {
|
if (e->button() == Qt::LeftButton && !aww_ && !hypnotoad_.get()) {
|
||||||
ShowCover();
|
ShowCover();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user