yuzu: fix title bar display

Previously the version number got hidden after starting a game.
merge-requests/60/head
Pengfei Zhu 2018-09-08 19:10:50 +07:00 committed by GitHub
parent 9cd79c25ed
commit 4048b54ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

@ -608,7 +608,7 @@ void GMainWindow::BootGame(const QString& filename) {
} }
setWindowTitle(QString("yuzu %1| %4 | %2-%3") setWindowTitle(QString("yuzu %1| %4 | %2-%3")
.arg(Common::g_build_name, Common::g_scm_branch, Common::g_scm_desc, .arg(Common::g_build_fullname, Common::g_scm_branch, Common::g_scm_desc,
QString::fromStdString(title_name))); QString::fromStdString(title_name)));
render_window->show(); render_window->show();
@ -643,7 +643,7 @@ void GMainWindow::ShutdownGame() {
game_list->show(); game_list->show();
game_list->setFilterFocus(); game_list->setFilterFocus();
setWindowTitle(QString("yuzu %1| %2-%3") setWindowTitle(QString("yuzu %1| %2-%3")
.arg(Common::g_build_name, Common::g_scm_branch, Common::g_scm_desc)); .arg(Common::g_build_fullname, Common::g_scm_branch, Common::g_scm_desc));
// Disable status bar updates // Disable status bar updates
status_bar_update_timer.stop(); status_bar_update_timer.stop();