Use current version in Qt window title

This commit is contained in:
Marcin Mikołajczyk 2013-02-05 13:26:32 +01:00
parent bdc467769e
commit 2a8dcbd620

View File

@ -38,8 +38,7 @@ void QtHost::ShutdownGL()
void QtHost::SetWindowTitle(const char *message)
{
// Really need a better way to deal with versions.
QString title = "PPSSPP v0.5 - " + QString::fromUtf8(message);
QString title = "PPSSPP " + QString(PPSSPP_VERSION_STR) + " - " + QString::fromUtf8(message);
mainWindow->setWindowTitle(title);
}