1
0
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:
Jonas Kvinge 2021-03-07 23:26:08 +01:00
parent 1823786344
commit ef18a00362

View File

@ -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;