From 9764b4ec0edec5993526d527e03e9b47f6f06b5e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 6 Aug 2018 13:36:05 -0400 Subject: [PATCH] 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. --- src/yuzu/game_list_p.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ #pragma once #include +#include #include #include #include @@ -109,7 +110,7 @@ class GameListWorker : public QObject, public QRunnable { public: GameListWorker(QString dir_path, bool deep_scan) - : QObject(), QRunnable(), dir_path(dir_path), deep_scan(deep_scan) {} + : dir_path(std::move(dir_path)), deep_scan(deep_scan) {} public slots: /// Starts the processing of directory tree information.