Use current version in Qt window title

This commit is contained in:
Marcin Mikołajczyk committed 2013-02-05 13:26:32 +01:00
1 parent bdc467769e
commit 2a8dcbd620
1 file changed
+1 -2
+1 -2
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);
}