mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-10-06 12:52:42 -04:00
GH-3450 Add checkboxes to display and record game time
This commit is contained in:
1 parent
3d11f9a7e9
commit
de089195cd
7 files changed
+119
-1
No files matched your search
@@ -134,6 +134,12 @@ void BaseInstance::setRunning(bool running)
|
||||
|
||||
m_isRunning = running;
|
||||
|
||||
if(!m_settings->get("RecordGameTime").toBool())
|
||||
{
|
||||
emit runningStatusChanged(running);
|
||||
return;
|
||||
}
|
||||
|
||||
if(running)
|
||||
{
|
||||
m_timeStarted = QDateTime::currentDateTime();
|
||||
|
||||
Reference in new issue
Block a user