summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-06 19:36:05 +0200
committerLioncash <mathew1800@gmail.com>2018-08-06 19:42:12 +0200
commit9764b4ec0edec5993526d527e03e9b47f6f06b5e (patch)
tree4649f04e6493609ef8dc15d0c05b66f85ef88b2b
parentqt: Add missing override specifiers where applicable (diff)
downloadyuzu-9764b4ec0edec5993526d527e03e9b47f6f06b5e.tar
yuzu-9764b4ec0edec5993526d527e03e9b47f6f06b5e.tar.gz
yuzu-9764b4ec0edec5993526d527e03e9b47f6f06b5e.tar.bz2
yuzu-9764b4ec0edec5993526d527e03e9b47f6f06b5e.tar.lz
yuzu-9764b4ec0edec5993526d527e03e9b47f6f06b5e.tar.xz
yuzu-9764b4ec0edec5993526d527e03e9b47f6f06b5e.tar.zst
yuzu-9764b4ec0edec5993526d527e03e9b47f6f06b5e.zip
-rw-r--r--src/yuzu/game_list_p.h3
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 @@
#pragma once
#include <atomic>
+#include <utility>
#include <QImage>
#include <QRunnable>
#include <QStandardItem>
@@ -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.