diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-18 12:24:28 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-18 12:24:28 +0300 |
commit | 6d1c67663dd5388b2209d162d517d6d9baa37d83 (patch) | |
tree | 541565d1ad2f502f12f869f5a59ad3271e9e7467 /launcher/MMCTime.h | |
parent | e88418ab7f1a2979ccb1ef92b4cd7da87f5cd6c5 (diff) | |
download | PrismLauncher-6d1c67663dd5388b2209d162d517d6d9baa37d83.tar.gz PrismLauncher-6d1c67663dd5388b2209d162d517d6d9baa37d83.tar.bz2 PrismLauncher-6d1c67663dd5388b2209d162d517d6d9baa37d83.zip |
feat:added option to show playtime in hours
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/MMCTime.h')
-rw-r--r-- | launcher/MMCTime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/MMCTime.h b/launcher/MMCTime.h index b7d34b5d..ea6d37e7 100644 --- a/launcher/MMCTime.h +++ b/launcher/MMCTime.h @@ -20,7 +20,7 @@ namespace Time { -QString prettifyDuration(int64_t duration); +QString prettifyDuration(int64_t duration, bool noDays = false); /** * @brief Returns a string with short form time duration ie. `2days 1h3m4s56.0ms`. |