From dfa1126946a4f5e905444ca99408d48bf52af010 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 17 May 2018 16:15:59 -0400 Subject: [PATCH] DolphinQt2: Add missing override specifiers --- Source/Core/DolphinQt2/Debugger/NewBreakpointDialog.h | 2 +- Source/Core/DolphinQt2/NetPlay/GameListDialog.h | 2 +- Source/Core/DolphinQt2/NetPlay/PadMappingDialog.h | 2 +- Source/Core/DolphinQt2/QtUtils/AspectRatioWidget.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/DolphinQt2/Debugger/NewBreakpointDialog.h b/Source/Core/DolphinQt2/Debugger/NewBreakpointDialog.h index 7dd1d34837..681dfa9656 100644 --- a/Source/Core/DolphinQt2/Debugger/NewBreakpointDialog.h +++ b/Source/Core/DolphinQt2/Debugger/NewBreakpointDialog.h @@ -22,7 +22,7 @@ class NewBreakpointDialog : public QDialog public: explicit NewBreakpointDialog(BreakpointWidget* parent); - void accept(); + void accept() override; private: void CreateWidgets(); diff --git a/Source/Core/DolphinQt2/NetPlay/GameListDialog.h b/Source/Core/DolphinQt2/NetPlay/GameListDialog.h index d3be480680..824fe3ee21 100644 --- a/Source/Core/DolphinQt2/NetPlay/GameListDialog.h +++ b/Source/Core/DolphinQt2/NetPlay/GameListDialog.h @@ -17,7 +17,7 @@ class GameListDialog : public QDialog public: explicit GameListDialog(QWidget* parent); - int exec(); + int exec() override; const QString& GetSelectedUniqueID(); private: diff --git a/Source/Core/DolphinQt2/NetPlay/PadMappingDialog.h b/Source/Core/DolphinQt2/NetPlay/PadMappingDialog.h index ebf2c2f48b..71779f6520 100644 --- a/Source/Core/DolphinQt2/NetPlay/PadMappingDialog.h +++ b/Source/Core/DolphinQt2/NetPlay/PadMappingDialog.h @@ -20,7 +20,7 @@ class PadMappingDialog : public QDialog public: explicit PadMappingDialog(QWidget* widget); - int exec(); + int exec() override; PadMappingArray GetGCPadArray(); PadMappingArray GetWiimoteArray(); diff --git a/Source/Core/DolphinQt2/QtUtils/AspectRatioWidget.h b/Source/Core/DolphinQt2/QtUtils/AspectRatioWidget.h index 516c1a6b62..06fc12f6f0 100644 --- a/Source/Core/DolphinQt2/QtUtils/AspectRatioWidget.h +++ b/Source/Core/DolphinQt2/QtUtils/AspectRatioWidget.h @@ -13,7 +13,7 @@ class AspectRatioWidget : public QWidget Q_OBJECT public: AspectRatioWidget(QWidget* widget, float width, float height, QWidget* parent = nullptr); - void resizeEvent(QResizeEvent* event); + void resizeEvent(QResizeEvent* event) override; private: QBoxLayout* m_layout;