From 7c2f22fd0c6a5eaa4a0631d4e4339c746d1b0c57 Mon Sep 17 00:00:00 2001 From: waddlesplash Date: Sat, 12 Sep 2015 13:33:03 -0400 Subject: [PATCH] DolphinQt: Use C++11 'final' keyword where applicable. --- Source/Core/DolphinQt/AboutDialog.h | 2 +- Source/Core/DolphinQt/GameList/GameGrid.h | 2 +- Source/Core/DolphinQt/GameList/GameTracker.h | 2 +- Source/Core/DolphinQt/GameList/GameTree.h | 2 +- Source/Core/DolphinQt/MainWindow.h | 2 +- Source/Core/DolphinQt/SystemInfo.h | 2 +- Source/Core/DolphinQt/VideoInterface/RenderWidget.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/Core/DolphinQt/AboutDialog.h b/Source/Core/DolphinQt/AboutDialog.h index 40f128ae7f..fa476a1024 100644 --- a/Source/Core/DolphinQt/AboutDialog.h +++ b/Source/Core/DolphinQt/AboutDialog.h @@ -13,7 +13,7 @@ namespace Ui class DAboutDialog; } -class DAboutDialog : public QDialog +class DAboutDialog final : public QDialog { Q_OBJECT diff --git a/Source/Core/DolphinQt/GameList/GameGrid.h b/Source/Core/DolphinQt/GameList/GameGrid.h index 50a70dc2fb..63e665e8a4 100644 --- a/Source/Core/DolphinQt/GameList/GameGrid.h +++ b/Source/Core/DolphinQt/GameList/GameGrid.h @@ -16,7 +16,7 @@ namespace Ui class DGameGrid; } -class DGameGrid : public QListWidget, public AbstractGameList +class DGameGrid final : public QListWidget, public AbstractGameList { Q_OBJECT diff --git a/Source/Core/DolphinQt/GameList/GameTracker.h b/Source/Core/DolphinQt/GameList/GameTracker.h index 7501874613..7f92ac2c00 100644 --- a/Source/Core/DolphinQt/GameList/GameTracker.h +++ b/Source/Core/DolphinQt/GameList/GameTracker.h @@ -38,7 +38,7 @@ public: void RemoveGames(QList items); }; -class DGameTracker : public QStackedWidget +class DGameTracker final : public QStackedWidget { Q_OBJECT diff --git a/Source/Core/DolphinQt/GameList/GameTree.h b/Source/Core/DolphinQt/GameList/GameTree.h index 2e379f99e7..37a1d0dfc7 100644 --- a/Source/Core/DolphinQt/GameList/GameTree.h +++ b/Source/Core/DolphinQt/GameList/GameTree.h @@ -16,7 +16,7 @@ namespace Ui class DGameTree; } -class DGameTree : public QTreeWidget, public AbstractGameList +class DGameTree final : public QTreeWidget, public AbstractGameList { Q_OBJECT diff --git a/Source/Core/DolphinQt/MainWindow.h b/Source/Core/DolphinQt/MainWindow.h index 82492897b8..c36284fa09 100644 --- a/Source/Core/DolphinQt/MainWindow.h +++ b/Source/Core/DolphinQt/MainWindow.h @@ -18,7 +18,7 @@ namespace Ui class DMainWindow; } -class DMainWindow : public QMainWindow +class DMainWindow final : public QMainWindow { Q_OBJECT diff --git a/Source/Core/DolphinQt/SystemInfo.h b/Source/Core/DolphinQt/SystemInfo.h index b7906d2b47..3e010b0259 100644 --- a/Source/Core/DolphinQt/SystemInfo.h +++ b/Source/Core/DolphinQt/SystemInfo.h @@ -12,7 +12,7 @@ namespace Ui class DSystemInfo; } -class DSystemInfo : public QDialog +class DSystemInfo final : public QDialog { Q_OBJECT diff --git a/Source/Core/DolphinQt/VideoInterface/RenderWidget.h b/Source/Core/DolphinQt/VideoInterface/RenderWidget.h index 0afbf76f74..67639e7322 100644 --- a/Source/Core/DolphinQt/VideoInterface/RenderWidget.h +++ b/Source/Core/DolphinQt/VideoInterface/RenderWidget.h @@ -6,7 +6,7 @@ #include -class DRenderWidget : public QWidget +class DRenderWidget final : public QWidget { Q_OBJECT