diff options
| author | 2018-08-06 13:36:05 -0400 | |
|---|---|---|
| committer | 2018-08-06 13:42:12 -0400 | |
| commit | 9764b4ec0edec5993526d527e03e9b47f6f06b5e (patch) | |
| tree | 4649f04e6493609ef8dc15d0c05b66f85ef88b2b | |
| parent | qt: Add missing override specifiers where applicable (diff) | |
| download | yuzu-9764b4ec0edec5993526d527e03e9b47f6f06b5e.tar.gz yuzu-9764b4ec0edec5993526d527e03e9b47f6f06b5e.tar.xz yuzu-9764b4ec0edec5993526d527e03e9b47f6f06b5e.zip | |
qt/game_list_p: Remove redundant base class constructor invocations
These occur automatically without the need to call them. While we're at
it, also std::move the QString instance into its member variable.
| -rw-r--r-- | src/yuzu/game_list_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h index 2ded0ce06..aa69a098f 100644 --- a/src/yuzu/game_list_p.h +++ b/src/yuzu/game_list_p.h | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <atomic> | 7 | #include <atomic> |
| 8 | #include <utility> | ||
| 8 | #include <QImage> | 9 | #include <QImage> |
| 9 | #include <QRunnable> | 10 | #include <QRunnable> |
| 10 | #include <QStandardItem> | 11 | #include <QStandardItem> |
| @@ -109,7 +110,7 @@ class GameListWorker : public QObject, public QRunnable { | |||
| 109 | 110 | ||
| 110 | public: | 111 | public: |
| 111 | GameListWorker(QString dir_path, bool deep_scan) | 112 | GameListWorker(QString dir_path, bool deep_scan) |
| 112 | : QObject(), QRunnable(), dir_path(dir_path), deep_scan(deep_scan) {} | 113 | : dir_path(std::move(dir_path)), deep_scan(deep_scan) {} |
| 113 | 114 | ||
| 114 | public slots: | 115 | public slots: |
| 115 | /// Starts the processing of directory tree information. | 116 | /// Starts the processing of directory tree information. |