summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/game_list.h
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2017-02-23 22:29:00 +0100
committerbunnei <bunneidev@gmail.com>2017-02-23 22:29:00 +0100
commit26823cd38be09b8fd4f2a20f8047d6fa95ff725c (patch)
treef1829d9109f3f841eedb74db98ee93c3cf7b6566 /src/citra_qt/game_list.h
parentMerge pull request #2441 from jroweboy/titlebar (diff)
downloadyuzu-26823cd38be09b8fd4f2a20f8047d6fa95ff725c.tar
yuzu-26823cd38be09b8fd4f2a20f8047d6fa95ff725c.tar.gz
yuzu-26823cd38be09b8fd4f2a20f8047d6fa95ff725c.tar.bz2
yuzu-26823cd38be09b8fd4f2a20f8047d6fa95ff725c.tar.lz
yuzu-26823cd38be09b8fd4f2a20f8047d6fa95ff725c.tar.xz
yuzu-26823cd38be09b8fd4f2a20f8047d6fa95ff725c.tar.zst
yuzu-26823cd38be09b8fd4f2a20f8047d6fa95ff725c.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/game_list.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/citra_qt/game_list.h b/src/citra_qt/game_list.h
index e6b7eea0b..b141fa3a5 100644
--- a/src/citra_qt/game_list.h
+++ b/src/citra_qt/game_list.h
@@ -4,6 +4,7 @@
#pragma once
+#include <QFileSystemWatcher>
#include <QModelIndex>
#include <QSettings>
#include <QStandardItem>
@@ -46,8 +47,11 @@ private:
void DonePopulating();
void PopupContextMenu(const QPoint& menu_location);
+ void UpdateWatcherList(const std::string& path, unsigned int recursion);
+ void RefreshGameDirectory();
QTreeView* tree_view = nullptr;
QStandardItemModel* item_model = nullptr;
GameListWorker* current_worker = nullptr;
+ QFileSystemWatcher watcher;
};