Explorar el Código

qt: Fix game name format error

Zach Hilman hace 6 años
padre
commit
81fff7aec0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/yuzu/main.cpp

+ 2 - 2
src/yuzu/main.cpp

@@ -1903,10 +1903,10 @@ void GMainWindow::UpdateWindowTitle(const QString& title_name) {
                                                           full_name, branch_name, description,
                                                           full_name, branch_name, description,
                                                           std::string{}, date, build_id)));
                                                           std::string{}, date, build_id)));
     } else {
     } 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(
         setWindowTitle(QString::fromStdString(
             fmt::format(fmt.empty() ? "yuzu {0}| {3} | {1}-{2}" : fmt, full_name, branch_name,
             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)));
     }
     }
 }
 }