mirror of https://github.com/mgba-emu/mgba.git
Qt: Remove maligned double-click-to-fullscreen shortcut (closes #2632)
This commit is contained in:
parent
b0977cef94
commit
fc1bfb9c73
1
CHANGES
1
CHANGES
|
@ -35,6 +35,7 @@ Misc:
|
|||
- mGUI: Enable auto-softpatching (closes mgba.io/i/2899)
|
||||
- Qt: Add exporting of SAV + RTC saves from Save Converter to strip RTC data
|
||||
- Qt: Handle multiple save game files for disparate games separately (fixes mgba.io/i/2887)
|
||||
- Qt: Remove maligned double-click-to-fullscreen shortcut (closes mgba.io/i/2632)
|
||||
- Scripting: Add `callbacks:oneshot` for single-call callbacks
|
||||
|
||||
0.10.2: (2023-04-23)
|
||||
|
|
|
@ -807,13 +807,6 @@ void Window::dropEvent(QDropEvent* event) {
|
|||
setController(m_manager->loadGame(url.toLocalFile()), url.toLocalFile());
|
||||
}
|
||||
|
||||
void Window::mouseDoubleClickEvent(QMouseEvent* event) {
|
||||
if (event->button() != Qt::LeftButton) {
|
||||
return;
|
||||
}
|
||||
toggleFullScreen();
|
||||
}
|
||||
|
||||
void Window::enterFullScreen() {
|
||||
if (!isVisible()) {
|
||||
m_fullscreenOnStart = true;
|
||||
|
|
|
@ -131,7 +131,6 @@ protected:
|
|||
virtual void focusOutEvent(QFocusEvent*) override;
|
||||
virtual void dragEnterEvent(QDragEnterEvent*) override;
|
||||
virtual void dropEvent(QDropEvent*) override;
|
||||
virtual void mouseDoubleClickEvent(QMouseEvent*) override;
|
||||
|
||||
private slots:
|
||||
void gameStarted();
|
||||
|
|
Loading…
Reference in New Issue