Show app version in status bar at start.

This commit is contained in:
Jean-Philip Desjardins 2018-08-07 22:41:02 -04:00
parent 868209f542
commit de95cabe6e

View File

@ -280,6 +280,8 @@ void MainWindow::CreateStatusBar()
statusBar()->addWidget(m_msgLabel, 1);
statusBar()->addWidget(m_fpsLabel);
m_msgLabel->setText(QString("Play! v%1 - %2").arg(PLAY_VERSION).arg(__DATE__));
m_fpsTimer = new QTimer(this);
connect(m_fpsTimer, SIGNAL(timeout()), this, SLOT(setFPS()));
m_fpsTimer->start(1000);