This commit is contained in:
Jean-Philip Desjardins 2018-08-07 19:17:28 -04:00
parent 364dfe83b2
commit 2112e9096f
2 changed files with 4 additions and 4 deletions

View File

@ -276,9 +276,9 @@ void MainWindow::CreateStatusBar()
statusBar()->addWidget(m_msgLabel, 1);
statusBar()->addWidget(m_fpsLabel);
m_fpstimer = new QTimer(this);
connect(m_fpstimer, SIGNAL(timeout()), this, SLOT(setFPS()));
m_fpstimer->start(1000);
m_fpsTimer = new QTimer(this);
connect(m_fpsTimer, SIGNAL(timeout()), this, SLOT(setFPS()));
m_fpsTimer->start(1000);
}
void MainWindow::setFPS()

View File

@ -57,7 +57,7 @@ private:
ElidedLabel* m_msgLabel = nullptr;
CStatsManager* m_statsManager = nullptr;
CInputBindingManager* m_InputBindingManager = nullptr;
QTimer* m_fpstimer = nullptr;
QTimer* m_fpsTimer = nullptr;
CPS2VM* m_virtualMachine = nullptr;
bool m_deactivatePause = false;
bool m_pauseFocusLost = true;