summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/game_list.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-11 03:44:06 +0200
committerGitHub <noreply@github.com>2017-05-11 03:44:06 +0200
commitdb22b88feab5840a1e4ac474f72cd1626006db1c (patch)
treeeee29b8879414d8bbb1c2e8f933e78d0cb2c4354 /src/citra_qt/game_list.h
parentMerge pull request #2676 from wwylele/irrst (diff)
parentFrontend: Prevent FileSystemWatcher from blocking UI thread (diff)
downloadyuzu-db22b88feab5840a1e4ac474f72cd1626006db1c.tar
yuzu-db22b88feab5840a1e4ac474f72cd1626006db1c.tar.gz
yuzu-db22b88feab5840a1e4ac474f72cd1626006db1c.tar.bz2
yuzu-db22b88feab5840a1e4ac474f72cd1626006db1c.tar.lz
yuzu-db22b88feab5840a1e4ac474f72cd1626006db1c.tar.xz
yuzu-db22b88feab5840a1e4ac474f72cd1626006db1c.tar.zst
yuzu-db22b88feab5840a1e4ac474f72cd1626006db1c.zip
Diffstat (limited to 'src/citra_qt/game_list.h')
-rw-r--r--src/citra_qt/game_list.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/citra_qt/game_list.h b/src/citra_qt/game_list.h
index d8f8bc5b6..4823a1296 100644
--- a/src/citra_qt/game_list.h
+++ b/src/citra_qt/game_list.h
@@ -85,10 +85,9 @@ private slots:
private:
void AddEntry(const QList<QStandardItem*>& entry_items);
void ValidateEntry(const QModelIndex& item);
- void DonePopulating();
+ void DonePopulating(QStringList watch_list);
void PopupContextMenu(const QPoint& menu_location);
- void UpdateWatcherList(const std::string& path, unsigned int recursion);
void RefreshGameDirectory();
bool containsAllWords(QString haystack, QString userinput);
@@ -98,5 +97,5 @@ private:
QTreeView* tree_view = nullptr;
QStandardItemModel* item_model = nullptr;
GameListWorker* current_worker = nullptr;
- QFileSystemWatcher watcher;
+ QFileSystemWatcher* watcher = nullptr;
};