From 9b59acdf26b29b0ec0bf3ae1e721ee51819f261b Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Mon, 28 Oct 2024 16:17:34 -0400 Subject: [PATCH] build: rm DESKFLOW_DOMAIN define --- cmake/Definitions.cmake | 6 ------ src/lib/gui/constants.h | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/cmake/Definitions.cmake b/cmake/Definitions.cmake index 9a2c2240c..7dd2b8779 100644 --- a/cmake/Definitions.cmake +++ b/cmake/Definitions.cmake @@ -54,10 +54,6 @@ endmacro() macro(configure_meta) - set(DESKFLOW_DOMAIN - "deskflow.org" - CACHE STRING "Domain of the app maintainer (not a URL)") - set(DESKFLOW_APP_NAME "Deskflow" CACHE STRING "App name (used in GUI title bar, etc)") @@ -94,7 +90,6 @@ macro(configure_meta) true CACHE BOOL "Show developer thanks message") - message(VERBOSE "App domain: ${DESKFLOW_DOMAIN}") message(VERBOSE "App name: ${DESKFLOW_APP_NAME}") message(VERBOSE "Author name: ${DESKFLOW_AUTHOR_NAME}") message(VERBOSE "Maintainer: ${DESKFLOW_MAINTAINER}") @@ -106,7 +101,6 @@ macro(configure_meta) message(VERBOSE "Show dev thanks: ${DESKFLOW_SHOW_DEV_THANKS}") # TODO: We need to move this to configure_file() in the future, which is much cleaner. - add_definitions(-DDESKFLOW_DOMAIN="${DESKFLOW_DOMAIN}") add_definitions(-DDESKFLOW_APP_NAME="${DESKFLOW_APP_NAME}") add_definitions(-DDESKFLOW_AUTHOR_NAME="${DESKFLOW_AUTHOR_NAME}") add_definitions(-DDESKFLOW_MAINTAINER="${DESKFLOW_MAINTAINER}") diff --git a/src/lib/gui/constants.h b/src/lib/gui/constants.h index b910ca489..3c09c55cc 100644 --- a/src/lib/gui/constants.h +++ b/src/lib/gui/constants.h @@ -24,7 +24,7 @@ namespace deskflow::gui { // important: this is used for settings paths on some platforms, // and must not be a url. qt automatically converts this to reverse domain // notation (rdn), e.g. org.deskflow -const auto kOrgDomain = DESKFLOW_DOMAIN; +const auto kOrgDomain = QStringLiteral("deskflow.org"); const auto kLinkDownload = R"(Download now)";