Merge pull request #1265 from zhaowenlan1779/patch-1

yuzu: fix title bar display
This commit is contained in:
bunnei 2018-09-08 16:03:25 -04:00 committed by GitHub
commit deff28d3c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();