diff options
| author | 2019-10-06 15:07:00 -0400 | |
|---|---|---|
| committer | 2019-10-06 15:07:04 -0400 | |
| commit | 81fff7aec09160db226b291041b51b96881a8a6f (patch) | |
| tree | 50131cb7890f59fe2b8cb2539ca54cf09169d4ed | |
| parent | Merge pull request #2942 from ReinUsesLisp/clang-warnings (diff) | |
| download | yuzu-81fff7aec09160db226b291041b51b96881a8a6f.tar.gz yuzu-81fff7aec09160db226b291041b51b96881a8a6f.tar.xz yuzu-81fff7aec09160db226b291041b51b96881a8a6f.zip | |
qt: Fix game name format error
| -rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 197e704b4..451e4a4d6 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -1903,10 +1903,10 @@ void GMainWindow::UpdateWindowTitle(const QString& title_name) { | |||
| 1903 | full_name, branch_name, description, | 1903 | full_name, branch_name, description, |
| 1904 | std::string{}, date, build_id))); | 1904 | std::string{}, date, build_id))); |
| 1905 | } else { | 1905 | } else { |
| 1906 | const auto fmt = std::string(Common::g_title_bar_format_idle); | 1906 | const auto fmt = std::string(Common::g_title_bar_format_running); |
| 1907 | setWindowTitle(QString::fromStdString( | 1907 | setWindowTitle(QString::fromStdString( |
| 1908 | fmt::format(fmt.empty() ? "yuzu {0}| {3} | {1}-{2}" : fmt, full_name, branch_name, | 1908 | fmt::format(fmt.empty() ? "yuzu {0}| {3} | {1}-{2}" : fmt, full_name, branch_name, |
| 1909 | description, std::string{}, date, build_id))); | 1909 | description, title_name.toStdString(), date, build_id))); |
| 1910 | } | 1910 | } |
| 1911 | } | 1911 | } |
| 1912 | 1912 | ||