From f1032b47d49437b1301433526bb9e0e047a2f443 Mon Sep 17 00:00:00 2001 From: Ladislav Michl Date: Wed, 6 Aug 2025 09:26:10 +0200 Subject: [PATCH] Gui: Fix about image path Merge of a4d4a8e7d629 accidentally didn't drop change to DlgAbout path. Nothing sets AboutImageDev congfig key, so partially revert said commit. Fixes: a4d4a8e7d629 ("Gui: Add about image for dev version") --- src/Gui/Dialogs/DlgAbout.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Gui/Dialogs/DlgAbout.cpp b/src/Gui/Dialogs/DlgAbout.cpp index 3b93aa2a72..aa02275789 100644 --- a/src/Gui/Dialogs/DlgAbout.cpp +++ b/src/Gui/Dialogs/DlgAbout.cpp @@ -164,11 +164,7 @@ QPixmap AboutDialog::aboutImage() const about_image.load(fi.filePath(), "PNG"); } - // Use dev or generic version of image depending on current build version. - const auto& suffix = App::Application::Config()["BuildVersionSuffix"]; - const auto about_path_key = (suffix == "dev") ? "AboutImageDev" : "AboutImage"; - const auto& about_path = App::Application::Config()[about_path_key]; - + const std::string about_path = App::Application::Config()["AboutImage"]; if (!about_path.empty() && about_image.isNull()) { QString path = QString::fromStdString(about_path); if (QDir(path).isRelative()) {