citra-emu
/
citra
Archived
1
0
Fork 0

Avoid incorrect casts to QDropEvent

This commit is contained in:
Luke Street 2020-08-18 23:24:06 -04:00
parent f72be7af2d
commit 21d7c4faa8
1 changed files with 0 additions and 2 deletions

View File

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