mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-20 12:59:58 +00:00
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.
This commit is contained in:
parent
7846295a8f
commit
9764b4ec0e
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
#include <utility>
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QRunnable>
|
#include <QRunnable>
|
||||||
#include <QStandardItem>
|
#include <QStandardItem>
|
||||||
|
@ -109,7 +110,7 @@ class GameListWorker : public QObject, public QRunnable {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GameListWorker(QString dir_path, bool deep_scan)
|
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:
|
public slots:
|
||||||
/// Starts the processing of directory tree information.
|
/// Starts the processing of directory tree information.
|
||||||
|
|
Loading…
Reference in a new issue