mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix drag and drop on Windows
This commit is contained in:
parent
003a21b13d
commit
91b53fc0c1
1
CHANGES
1
CHANGES
|
@ -2,6 +2,7 @@
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
- Qt: Windows no longer spawn in the top left on first launch
|
- Qt: Windows no longer spawn in the top left on first launch
|
||||||
- Qt: Fix install path of XDG desktop file with DESTDIR
|
- Qt: Fix install path of XDG desktop file with DESTDIR
|
||||||
|
- Qt: Fix drag and drop on Windows
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Window size command line options are now supported
|
- Qt: Window size command line options are now supported
|
||||||
- Qt: Increase usability of key mapper
|
- Qt: Increase usability of key mapper
|
||||||
|
|
|
@ -507,7 +507,7 @@ void Window::dropEvent(QDropEvent* event) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
event->accept();
|
event->accept();
|
||||||
m_controller->loadGame(url.path());
|
m_controller->loadGame(url.toLocalFile());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::mouseDoubleClickEvent(QMouseEvent* event) {
|
void Window::mouseDoubleClickEvent(QMouseEvent* event) {
|
||||||
|
|
Loading…
Reference in New Issue