diff options
| author | Mario <mariodavo.20@gmail.com> | 2023-08-26 21:19:00 -0400 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-08-26 22:20:19 -0400 |
| commit | 5464423667dedc0f09d48f85fc7871a3e56127a4 (patch) | |
| tree | a981bb0c3f41050a476e791f4440bc4eae9e1ebf /src/yuzu/game_list_worker.cpp | |
| parent | 6c4abd23be375afda850661cdf164b65e52f8cb8 (diff) | |
yuzu-qt: Track play time
Diffstat (limited to 'src/yuzu/game_list_worker.cpp')
| -rw-r--r-- | src/yuzu/game_list_worker.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/game_list_worker.cpp b/src/yuzu/game_list_worker.cpp index e7fb8a282..b15ed730e 100644 --- a/src/yuzu/game_list_worker.cpp +++ b/src/yuzu/game_list_worker.cpp @@ -27,6 +27,7 @@ #include "yuzu/game_list.h" #include "yuzu/game_list_p.h" #include "yuzu/game_list_worker.h" +#include "yuzu/play_time.h" #include "yuzu/uisettings.h" namespace { @@ -212,6 +213,7 @@ QList<QStandardItem*> MakeGameListEntry(const std::string& path, const std::stri new GameListItemCompat(compatibility), new GameListItem(file_type_string), new GameListItemSize(size), + new GameListItemPlayTime(PlayTime::GetPlayTime(program_id)), }; const auto patch_versions = GetGameListCachedObject( |
