mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-27 13:46:54 +00:00
Merge pull request #5516 from encounter/qdropevent-fix
Avoid incorrect casts to QDropEvent
This commit is contained in:
commit
a39e0ea3b1
|
@ -172,9 +172,7 @@ bool OpenGLWindow::event(QEvent* event) {
|
|||
case QEvent::Drop:
|
||||
GetMainWindow()->DropAction(static_cast<QDropEvent*>(event));
|
||||
return true;
|
||||
case QEvent::DragResponse:
|
||||
case QEvent::DragEnter:
|
||||
case QEvent::DragLeave:
|
||||
case QEvent::DragMove:
|
||||
GetMainWindow()->AcceptDropEvent(static_cast<QDropEvent*>(event));
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue