diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-06 19:12:32 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-06 19:29:14 +0200 |
commit | 7846295a8f5c74cecdebc467e902406fe7179547 (patch) | |
tree | 4d4ede32087cb28ec94a506949b72d3f606cf75c | |
parent | qt: Default destructors where applicable (diff) | |
download | yuzu-7846295a8f5c74cecdebc467e902406fe7179547.tar yuzu-7846295a8f5c74cecdebc467e902406fe7179547.tar.gz yuzu-7846295a8f5c74cecdebc467e902406fe7179547.tar.bz2 yuzu-7846295a8f5c74cecdebc467e902406fe7179547.tar.lz yuzu-7846295a8f5c74cecdebc467e902406fe7179547.tar.xz yuzu-7846295a8f5c74cecdebc467e902406fe7179547.tar.zst yuzu-7846295a8f5c74cecdebc467e902406fe7179547.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/about_dialog.h | 2 | ||||
-rw-r--r-- | src/yuzu/bootmanager.h | 2 | ||||
-rw-r--r-- | src/yuzu/debugger/graphics/graphics_surface.h | 6 | ||||
-rw-r--r-- | src/yuzu/debugger/wait_tree.h | 4 | ||||
-rw-r--r-- | src/yuzu/main.h | 2 |
5 files changed, 9 insertions, 7 deletions
diff --git a/src/yuzu/about_dialog.h b/src/yuzu/about_dialog.h index 2eb6e28f5..18e8c11a7 100644 --- a/src/yuzu/about_dialog.h +++ b/src/yuzu/about_dialog.h @@ -16,7 +16,7 @@ class AboutDialog : public QDialog { public: explicit AboutDialog(QWidget* parent); - ~AboutDialog(); + ~AboutDialog() override; private: std::unique_ptr<Ui::AboutDialog> ui; diff --git a/src/yuzu/bootmanager.h b/src/yuzu/bootmanager.h index 130bc613b..d0f990c64 100644 --- a/src/yuzu/bootmanager.h +++ b/src/yuzu/bootmanager.h @@ -106,7 +106,7 @@ class GRenderWindow : public QWidget, public EmuWindow { public: GRenderWindow(QWidget* parent, EmuThread* emu_thread); - ~GRenderWindow(); + ~GRenderWindow() override; // EmuWindow implementation void SwapBuffers() override; diff --git a/src/yuzu/debugger/graphics/graphics_surface.h b/src/yuzu/debugger/graphics/graphics_surface.h index 58f9db465..323e39d94 100644 --- a/src/yuzu/debugger/graphics/graphics_surface.h +++ b/src/yuzu/debugger/graphics/graphics_surface.h @@ -22,11 +22,11 @@ class SurfacePicture : public QLabel { public: explicit SurfacePicture(QWidget* parent = nullptr, GraphicsSurfaceWidget* surface_widget = nullptr); - ~SurfacePicture(); + ~SurfacePicture() override; protected slots: - virtual void mouseMoveEvent(QMouseEvent* event); - virtual void mousePressEvent(QMouseEvent* event); + void mouseMoveEvent(QMouseEvent* event) override; + void mousePressEvent(QMouseEvent* event) override; private: GraphicsSurfaceWidget* surface_widget; diff --git a/src/yuzu/debugger/wait_tree.h b/src/yuzu/debugger/wait_tree.h index 6cbce6856..513b3c45d 100644 --- a/src/yuzu/debugger/wait_tree.h +++ b/src/yuzu/debugger/wait_tree.h @@ -25,11 +25,13 @@ class WaitTreeThread; class WaitTreeItem : public QObject { Q_OBJECT public: + ~WaitTreeItem() override; + virtual bool IsExpandable() const; virtual std::vector<std::unique_ptr<WaitTreeItem>> GetChildren() const; virtual QString GetText() const = 0; virtual QColor GetColor() const; - virtual ~WaitTreeItem(); + void Expand(); WaitTreeItem* Parent() const; const std::vector<std::unique_ptr<WaitTreeItem>>& Children() const; diff --git a/src/yuzu/main.h b/src/yuzu/main.h index 074bba3f9..a60d831b9 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -43,7 +43,7 @@ public: void filterBarSetChecked(bool state); void UpdateUITheme(); GMainWindow(); - ~GMainWindow(); + ~GMainWindow() override; signals: |