diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-10 18:44:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 18:44:06 -0700 |
commit | db22b88feab5840a1e4ac474f72cd1626006db1c (patch) | |
tree | eee29b8879414d8bbb1c2e8f933e78d0cb2c4354 /src/citra_qt/game_list.h | |
parent | 15b26249cc1b7a66d22bde5835b8a08f3465d898 (diff) | |
parent | fc2f7b0df6b2429d45b169b51ce8d5c71ef68a4b (diff) |
Merge pull request #2669 from jroweboy/async_file_watcher
Frontend: Prevent FileSystemWatcher from blocking UI thread
Diffstat (limited to 'src/citra_qt/game_list.h')
-rw-r--r-- | src/citra_qt/game_list.h | 5 |
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; }; |