Merge pull request #4887 from TheUbuntuGuy/master

Fix context menu for the NowPlayingWidget in Windows
This commit is contained in:
John Maguire 2015-06-08 16:38:36 +01:00
commit 88bce5115f
1 changed files with 2 additions and 2 deletions

View File

@ -562,9 +562,9 @@ void NowPlayingWidget::contextMenuEvent(QContextMenuEvent* e) {
menu_->popup(mapToGlobal(e->pos()));
}
void NowPlayingWidget::mouseReleaseEvent(QMouseEvent*) {
void NowPlayingWidget::mouseReleaseEvent(QMouseEvent* e) {
// Same behaviour as right-click > Show Fullsize
if (!aww_ && !hypnotoad_.get()) {
if (e->button() == Qt::LeftButton && !aww_ && !hypnotoad_.get()) {
ShowCover();
}
}