file_util: Use enum instead of bool for specifing path behavior

This commit is contained in:
Zach Hilman 2018-08-06 23:21:37 -04:00
parent 55190386b4
commit b43d01f09b
4 changed files with 37 additions and 24 deletions

View file

@ -140,7 +140,7 @@ class GameListWorker : public QObject, public QRunnable {
public:
GameListWorker(FileSys::VirtualFilesystem vfs, QString dir_path, bool deep_scan)
: dir_path(std::move(dir_path)), deep_scan(deep_scan) {}
: vfs(std::move(vfs)), dir_path(std::move(dir_path)), deep_scan(deep_scan) {}
public slots:
/// Starts the processing of directory tree information.