diff options
Diffstat (limited to 'src/frontend/qt_sdl')
-rw-r--r-- | src/frontend/qt_sdl/RAMInfoDialog.h | 2 | ||||
-rw-r--r-- | src/frontend/qt_sdl/main.cpp | 4 | ||||
-rw-r--r-- | src/frontend/qt_sdl/main.h | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/frontend/qt_sdl/RAMInfoDialog.h b/src/frontend/qt_sdl/RAMInfoDialog.h index f44ae93..33afd98 100644 --- a/src/frontend/qt_sdl/RAMInfoDialog.h +++ b/src/frontend/qt_sdl/RAMInfoDialog.h @@ -142,7 +142,7 @@ public: void Stop(); private: - void run(); + virtual void run() override; RAMInfoDialog* Dialog; bool SearchRunning = false; diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index 12a9906..7f0c0ef 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -957,6 +957,8 @@ void ScreenHandler::screenHandleTablet(QTabletEvent* event) touching = false; } break; + default: + break; } } @@ -988,6 +990,8 @@ void ScreenHandler::screenHandleTouch(QTouchEvent* event) touching = false; } break; + default: + break; } } diff --git a/src/frontend/qt_sdl/main.h b/src/frontend/qt_sdl/main.h index 44283a9..073a4da 100644 --- a/src/frontend/qt_sdl/main.h +++ b/src/frontend/qt_sdl/main.h @@ -354,7 +354,7 @@ private slots: void onScreenEmphasisToggled(); private: - void closeEvent(QCloseEvent* event); + virtual void closeEvent(QCloseEvent* event) override; QStringList currentROM; QStringList currentGBAROM; |