GH-3450 Add checkboxes to display and record game time
This commit is contained in:
parent
3d11f9a7e9
commit
de089195cd
7 changed files with 119 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue