chore: Set version to 0.7.1 in title bar and about dialog

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-09-26 18:01:41 +10:00
parent 5871f4b418
commit 42ee9916b7
2 changed files with 2 additions and 16 deletions

View File

@@ -9,14 +9,7 @@
AboutDialog::AboutDialog(QWidget* parent) AboutDialog::AboutDialog(QWidget* parent)
: QDialog(parent), ui{std::make_unique<Ui::AboutDialog>()} { : QDialog(parent), ui{std::make_unique<Ui::AboutDialog>()} {
const auto branch_name = std::string(Common::g_scm_branch); const auto citron_build_version = "citron | 0.7.1";
const auto description = std::string(Common::g_scm_desc);
const auto build_id = std::string(Common::g_build_id);
const auto citron_build = fmt::format("citron Development Build | {}-{}", branch_name, description);
const auto override_build =
fmt::format(fmt::runtime(std::string(Common::g_title_bar_format_idle)), build_id);
const auto citron_build_version = override_build.empty() ? citron_build : override_build;
ui->setupUi(this); ui->setupUi(this);
// Try and request the icon from Qt theme (Linux?) // Try and request the icon from Qt theme (Linux?)

View File

@@ -4732,14 +4732,7 @@ void GMainWindow::MigrateConfigFiles() {
void GMainWindow::UpdateWindowTitle(std::string_view title_name, std::string_view title_version, void GMainWindow::UpdateWindowTitle(std::string_view title_name, std::string_view title_version,
std::string_view gpu_vendor) { std::string_view gpu_vendor) {
const auto branch_name = std::string(Common::g_scm_branch); const auto window_title = "citron | 0.7.1";
const auto description = std::string(Common::g_scm_desc);
const auto build_id = std::string(Common::g_build_id);
const auto citron_title = fmt::format("citron | {}-{}", branch_name, description);
const auto override_title =
fmt::format(fmt::runtime(std::string(Common::g_title_bar_format_idle)), build_id);
const auto window_title = override_title.empty() ? citron_title : override_title;
if (title_name.empty()) { if (title_name.empty()) {
setWindowTitle(QString::fromStdString(window_title)); setWindowTitle(QString::fromStdString(window_title));