|
|
@ -21,7 +21,7 @@ |
|
|
#include "common/common_types.h" |
|
|
#include "common/common_types.h" |
|
|
#include "common/logging/log.h" |
|
|
#include "common/logging/log.h" |
|
|
#include "common/string_util.h" |
|
|
#include "common/string_util.h" |
|
|
#include "common/play_time_manager.h"" |
|
|
|
|
|
|
|
|
#include "frontend_common/play_time_manager.h" |
|
|
#include "qt_common/config/uisettings.h" |
|
|
#include "qt_common/config/uisettings.h" |
|
|
#include "yuzu/util/util.h" |
|
|
#include "yuzu/util/util.h" |
|
|
|
|
|
|
|
|
@ -241,7 +241,7 @@ public: |
|
|
|
|
|
|
|
|
void setData(const QVariant& value, int role) override { |
|
|
void setData(const QVariant& value, int role) override { |
|
|
qulonglong time_seconds = value.toULongLong(); |
|
|
qulonglong time_seconds = value.toULongLong(); |
|
|
GameListItem::setData(QtCommon::PlayTimeManager::ReadablePlayTime(time_seconds), Qt::DisplayRole); |
|
|
|
|
|
|
|
|
GameListItem::setData(QString::fromStdString(PlayTime::PlayTimeManager::GetReadablePlayTime(time_seconds)), Qt::DisplayRole); |
|
|
GameListItem::setData(value, PlayTimeRole); |
|
|
GameListItem::setData(value, PlayTimeRole); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|