1
0
Fork 1
forked from suyu/suyu

Merge pull request #2953 from DarkLordZach/azure-titlebars-gamename

qt: Fix game name format error
This commit is contained in:
bunnei 2019-10-06 15:13:57 -04:00 committed by GitHub
commit 123c0580b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1903,10 +1903,10 @@ void GMainWindow::UpdateWindowTitle(const QString& title_name) {
full_name, branch_name, description,
std::string{}, date, build_id)));
} else {
const auto fmt = std::string(Common::g_title_bar_format_idle);
const auto fmt = std::string(Common::g_title_bar_format_running);
setWindowTitle(QString::fromStdString(
fmt::format(fmt.empty() ? "yuzu {0}| {3} | {1}-{2}" : fmt, full_name, branch_name,
description, std::string{}, date, build_id)));
description, title_name.toStdString(), date, build_id)));
}
}