mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-28 18:33:14 +00:00
DolphinQt: Use C++11 'final' keyword where applicable.
This commit is contained in:
parent
11c641ed90
commit
7c2f22fd0c
@ -13,7 +13,7 @@ namespace Ui
|
||||
class DAboutDialog;
|
||||
}
|
||||
|
||||
class DAboutDialog : public QDialog
|
||||
class DAboutDialog final : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
@ -16,7 +16,7 @@ namespace Ui
|
||||
class DGameGrid;
|
||||
}
|
||||
|
||||
class DGameGrid : public QListWidget, public AbstractGameList
|
||||
class DGameGrid final : public QListWidget, public AbstractGameList
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
@ -38,7 +38,7 @@ public:
|
||||
void RemoveGames(QList<GameFile*> items);
|
||||
};
|
||||
|
||||
class DGameTracker : public QStackedWidget
|
||||
class DGameTracker final : public QStackedWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
@ -16,7 +16,7 @@ namespace Ui
|
||||
class DGameTree;
|
||||
}
|
||||
|
||||
class DGameTree : public QTreeWidget, public AbstractGameList
|
||||
class DGameTree final : public QTreeWidget, public AbstractGameList
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
@ -18,7 +18,7 @@ namespace Ui
|
||||
class DMainWindow;
|
||||
}
|
||||
|
||||
class DMainWindow : public QMainWindow
|
||||
class DMainWindow final : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
@ -12,7 +12,7 @@ namespace Ui
|
||||
class DSystemInfo;
|
||||
}
|
||||
|
||||
class DSystemInfo : public QDialog
|
||||
class DSystemInfo final : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class DRenderWidget : public QWidget
|
||||
class DRenderWidget final : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user