mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-14 22:53:15 +00:00
Play Time (#1305)
* Play Time * SDL * QT * Sort / Formatting * Timer 1 minute * remove the seconds removes the seconds from the screen, but in the play_time.txt file it continues to record the seconds for better accuracy, and the screen is cleaner * fixes the invisible 0 * SDL . . . * Fix Timer
This commit is contained in:
parent
6fe26173dc
commit
d4eae28ce2
34 changed files with 303 additions and 7 deletions
|
@ -29,6 +29,7 @@ public Q_SLOTS:
|
|||
private:
|
||||
void SetTableItem(int row, int column, QString itemStr);
|
||||
void SetRegionFlag(int row, int column, QString itemStr);
|
||||
QString GetPlayTime(const std::string& serial);
|
||||
QList<QAction*> m_columnActs;
|
||||
GameInfoClass* game_inf_get = nullptr;
|
||||
bool ListSortedAsc = true;
|
||||
|
@ -68,6 +69,8 @@ public:
|
|||
case 6:
|
||||
return a.version < b.version;
|
||||
case 7:
|
||||
return a.play_time < b.play_time;
|
||||
case 8:
|
||||
return a.path < b.path;
|
||||
default:
|
||||
return false;
|
||||
|
@ -89,9 +92,11 @@ public:
|
|||
case 6:
|
||||
return a.version > b.version;
|
||||
case 7:
|
||||
return a.play_time > b.play_time;
|
||||
case 8:
|
||||
return a.path > b.path;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue