build: rm DESKFLOW_DOMAIN define

This commit is contained in:
sithlord48 2024-10-28 16:17:34 -04:00 committed by Nick Bolton
parent 46a6f74fb7
commit 9b59acdf26
2 changed files with 1 additions and 7 deletions

View file

@ -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}")

View file

@ -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"(<a href="%1" style="color: %2">Download now</a>)";