Added left-click to show fullsize cover on NowPlayingWidget.
This intuitively mirrors the behaviour of clicking an image in the Artist Info page
This commit is contained in:
parent
03eb241c00
commit
a9c944e42a
@ -534,6 +534,13 @@ void NowPlayingWidget::contextMenuEvent(QContextMenuEvent* e) {
|
||||
menu_->popup(mapToGlobal(e->pos()));
|
||||
}
|
||||
|
||||
void NowPlayingWidget::mouseReleaseEvent(QMouseEvent *) {
|
||||
//Same behaviour as right-click > Show Fullsize
|
||||
if((!aww_) && !(static_cast<bool>(hypnotoad_))){
|
||||
ShowCover();
|
||||
}
|
||||
}
|
||||
|
||||
void NowPlayingWidget::ShowAboveStatusBar(bool above) {
|
||||
QSettings s;
|
||||
s.beginGroup(kSettingsGroup);
|
||||
|
@ -79,6 +79,7 @@ signals:
|
||||
void paintEvent(QPaintEvent* e);
|
||||
void resizeEvent(QResizeEvent*);
|
||||
void contextMenuEvent(QContextMenuEvent* e);
|
||||
void mouseReleaseEvent(QMouseEvent *);
|
||||
void dragEnterEvent(QDragEnterEvent* e);
|
||||
void dropEvent(QDropEvent* e);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user