From 6f48ed92e84a7b45cecde390d3f0d664ea1fba93 Mon Sep 17 00:00:00 2001 From: dsm <41967334+dsm@users.noreply.github.com> Date: Wed, 4 Sep 2024 17:07:47 +0300 Subject: [PATCH] fixed adding hash to application title. --- qucs-activefilter/CMakeLists.txt | 3 ++- qucs/misc.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/qucs-activefilter/CMakeLists.txt b/qucs-activefilter/CMakeLists.txt index 2a4fc3767..f506e5aa6 100644 --- a/qucs-activefilter/CMakeLists.txt +++ b/qucs-activefilter/CMakeLists.txt @@ -6,7 +6,6 @@ SET(QUCS_NAME "qucs-s") # use top VERSION file file (STRINGS ${PROJECT_SOURCE_DIR}/../VERSION QUCS_VERSION) -message(STATUS "Configuring ${PROJECT_NAME} (GUI): VERSION ${QUCS_VERSION}") if(DEFINED CI_VERSION) set(PROJECT_VERSION "${CI_VERSION}") @@ -14,6 +13,8 @@ else() set(PROJECT_VERSION "${QUCS_VERSION}") endif() +message(STATUS "Configuring ${PROJECT_NAME} (GUI): VERSION ${PROJECT_VERSION}") + set(PROJECT_VENDOR "Qucs team. This program is licensed under the GNU GPL") set(PROJECT_COPYRIGHT_YEAR "2014") set(PROJECT_DOMAIN_FIRST "qucs") diff --git a/qucs/misc.cpp b/qucs/misc.cpp index d04455e0b..b4da1b5bb 100644 --- a/qucs/misc.cpp +++ b/qucs/misc.cpp @@ -45,7 +45,7 @@ QString misc::getWindowTitle() if (title.endsWith(".0")) { title.chop(2); } -#if defined(GIT) && defined(CI_VERSION) +#if defined(GIT) if (title.endsWith(".99")) { QString hash = GIT; if (!hash.isEmpty()) {