Qt: Remove maligned double-click-to-fullscreen shortcut (closes #2632)

This commit is contained in:
Vicki Pfau 2023-08-05 12:47:14 -07:00
parent b0977cef94
commit fc1bfb9c73
3 changed files with 1 additions and 8 deletions

View File

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

View File

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

View File

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