diff options
author | tech4me <guiwanglong@gmail.com> | 2018-08-20 21:46:40 -0700 |
---|---|---|
committer | tech4me <guiwanglong@gmail.com> | 2018-08-21 02:04:33 -0700 |
commit | cc71832b19ed9d3579160ddb8fe6e4f9a8269553 (patch) | |
tree | b92c24231393ccc10544b2fddef8017f8d7023e1 /src/yuzu/game_list.h | |
parent | bf89a99839abb30e33872b8401eae30cd95e7585 (diff) |
qt/main: Port part of citra(#3411), open savedata works
Diffstat (limited to 'src/yuzu/game_list.h')
-rw-r--r-- | src/yuzu/game_list.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/yuzu/game_list.h b/src/yuzu/game_list.h index afe624b32..20252e778 100644 --- a/src/yuzu/game_list.h +++ b/src/yuzu/game_list.h @@ -21,6 +21,8 @@ class GameListWorker; +enum class GameListOpenTarget { SaveData }; + class GameList : public QWidget { Q_OBJECT @@ -76,7 +78,7 @@ public: signals: void GameChosen(QString game_path); void ShouldCancelWorker(); - void OpenSaveFolderRequested(u64 program_id); + void OpenFolderRequested(u64 program_id, GameListOpenTarget target); private slots: void onTextChanged(const QString& newText); @@ -99,3 +101,5 @@ private: GameListWorker* current_worker = nullptr; QFileSystemWatcher* watcher = nullptr; }; + +Q_DECLARE_METATYPE(GameListOpenTarget); |