mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-15 10:14:43 +01:00
Use mouse event variable
This commit is contained in:
parent
1823786344
commit
ef18a00362
@ -308,7 +308,7 @@ bool EditTagDialog::eventFilter(QObject *o, QEvent *e) {
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
|
||||
cover_menu_->popup(mouse_event->globalPosition().toPoint());
|
||||
#else
|
||||
cover_menu_->popup(static_cast<QMouseEvent*>(e)->globalPos());
|
||||
cover_menu_->popup(mouse_event->globalPos());
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user