mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-24 02:29:20 +01:00
Avoid incorrect casts to QDropEvent
This commit is contained in:
parent
f72be7af2d
commit
21d7c4faa8
@ -172,9 +172,7 @@ bool OpenGLWindow::event(QEvent* event) {
|
|||||||
case QEvent::Drop:
|
case QEvent::Drop:
|
||||||
GetMainWindow()->DropAction(static_cast<QDropEvent*>(event));
|
GetMainWindow()->DropAction(static_cast<QDropEvent*>(event));
|
||||||
return true;
|
return true;
|
||||||
case QEvent::DragResponse:
|
|
||||||
case QEvent::DragEnter:
|
case QEvent::DragEnter:
|
||||||
case QEvent::DragLeave:
|
|
||||||
case QEvent::DragMove:
|
case QEvent::DragMove:
|
||||||
GetMainWindow()->AcceptDropEvent(static_cast<QDropEvent*>(event));
|
GetMainWindow()->AcceptDropEvent(static_cast<QDropEvent*>(event));
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user