MCPcopy Create free account
hub / github.com/XMuli/ChineseChess / pauseGameTimer

Method pauseGameTimer

ChessBoard.cpp:507–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507void ChessBoard::pauseGameTimer()
508{
509 if (!m_timer || !m_bIsStart)
510 return;
511
512 m_timer->stop();
513 m_bIsStart = false;
514 ui->pushButton_start->setText("继续");
515}
516
517void ChessBoard::autoStartTimerIfNeeded()
518{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected