build: rm DESKFLOW_DOMAIN define
This commit is contained in:
parent
46a6f74fb7
commit
9b59acdf26
2 changed files with 1 additions and 7 deletions
|
|
@ -54,10 +54,6 @@ endmacro()
|
||||||
|
|
||||||
macro(configure_meta)
|
macro(configure_meta)
|
||||||
|
|
||||||
set(DESKFLOW_DOMAIN
|
|
||||||
"deskflow.org"
|
|
||||||
CACHE STRING "Domain of the app maintainer (not a URL)")
|
|
||||||
|
|
||||||
set(DESKFLOW_APP_NAME
|
set(DESKFLOW_APP_NAME
|
||||||
"Deskflow"
|
"Deskflow"
|
||||||
CACHE STRING "App name (used in GUI title bar, etc)")
|
CACHE STRING "App name (used in GUI title bar, etc)")
|
||||||
|
|
@ -94,7 +90,6 @@ macro(configure_meta)
|
||||||
true
|
true
|
||||||
CACHE BOOL "Show developer thanks message")
|
CACHE BOOL "Show developer thanks message")
|
||||||
|
|
||||||
message(VERBOSE "App domain: ${DESKFLOW_DOMAIN}")
|
|
||||||
message(VERBOSE "App name: ${DESKFLOW_APP_NAME}")
|
message(VERBOSE "App name: ${DESKFLOW_APP_NAME}")
|
||||||
message(VERBOSE "Author name: ${DESKFLOW_AUTHOR_NAME}")
|
message(VERBOSE "Author name: ${DESKFLOW_AUTHOR_NAME}")
|
||||||
message(VERBOSE "Maintainer: ${DESKFLOW_MAINTAINER}")
|
message(VERBOSE "Maintainer: ${DESKFLOW_MAINTAINER}")
|
||||||
|
|
@ -106,7 +101,6 @@ macro(configure_meta)
|
||||||
message(VERBOSE "Show dev thanks: ${DESKFLOW_SHOW_DEV_THANKS}")
|
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.
|
# 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_APP_NAME="${DESKFLOW_APP_NAME}")
|
||||||
add_definitions(-DDESKFLOW_AUTHOR_NAME="${DESKFLOW_AUTHOR_NAME}")
|
add_definitions(-DDESKFLOW_AUTHOR_NAME="${DESKFLOW_AUTHOR_NAME}")
|
||||||
add_definitions(-DDESKFLOW_MAINTAINER="${DESKFLOW_MAINTAINER}")
|
add_definitions(-DDESKFLOW_MAINTAINER="${DESKFLOW_MAINTAINER}")
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ namespace deskflow::gui {
|
||||||
// important: this is used for settings paths on some platforms,
|
// important: this is used for settings paths on some platforms,
|
||||||
// and must not be a url. qt automatically converts this to reverse domain
|
// and must not be a url. qt automatically converts this to reverse domain
|
||||||
// notation (rdn), e.g. org.deskflow
|
// 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>)";
|
const auto kLinkDownload = R"(<a href="%1" style="color: %2">Download now</a>)";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue