From 623b1d6837179a587fc785333de8e4cb72e3f4e0 Mon Sep 17 00:00:00 2001 From: Xphalnos <164882787+Xphalnos@users.noreply.github.com> Date: Sun, 9 Jun 2024 17:45:25 +0200 Subject: [PATCH] Synchronization between Qt build title and version.h (#178) --- src/qt_gui/main_window.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qt_gui/main_window.cpp b/src/qt_gui/main_window.cpp index 1fef5aef..6f8dc148 100644 --- a/src/qt_gui/main_window.cpp +++ b/src/qt_gui/main_window.cpp @@ -9,6 +9,7 @@ #include #include #include "common/io_file.h" +#include "common/version.h" #include "core/file_format/pkg.h" #include "core/loader.h" #include "game_install_dialog.h" @@ -37,7 +38,7 @@ bool MainWindow::Init() { LoadGameLists(); setMinimumSize(350, minimumSizeHint().height()); - setWindowTitle(QString::fromStdString("ShadPS4 v0.0.3")); + setWindowTitle(QString::fromStdString("shadPS4 v" + std::string(Common::VERSION))); show(); auto end = std::chrono::steady_clock::now();