build: rm DESKFLOW_HELP_TEXT define
This commit is contained in:
parent
bdcf770de6
commit
366932a188
2 changed files with 1 additions and 8 deletions
|
|
@ -54,10 +54,6 @@ endmacro()
|
||||||
|
|
||||||
macro(configure_meta)
|
macro(configure_meta)
|
||||||
|
|
||||||
set(DESKFLOW_HELP_TEXT
|
|
||||||
"Report a bug"
|
|
||||||
CACHE STRING "Text label for the help menu item")
|
|
||||||
|
|
||||||
set(DESKFLOW_DEPLOY_RES_DIR
|
set(DESKFLOW_DEPLOY_RES_DIR
|
||||||
"${PROJECT_SOURCE_DIR}/deploy"
|
"${PROJECT_SOURCE_DIR}/deploy"
|
||||||
CACHE STRING "Deploy resource directory for images, etc")
|
CACHE STRING "Deploy resource directory for images, etc")
|
||||||
|
|
@ -70,14 +66,11 @@ macro(configure_meta)
|
||||||
true
|
true
|
||||||
CACHE BOOL "Show developer thanks message")
|
CACHE BOOL "Show developer thanks message")
|
||||||
|
|
||||||
message(VERBOSE "Help text: ${DESKFLOW_HELP_TEXT}")
|
|
||||||
message(VERBOSE "Res dir: ${DESKFLOW_DEPLOY_RES_DIR}")
|
message(VERBOSE "Res dir: ${DESKFLOW_DEPLOY_RES_DIR}")
|
||||||
message(VERBOSE "Mac bundle code: ${DESKFLOW_MAC_BUNDLE_CODE}")
|
message(VERBOSE "Mac bundle code: ${DESKFLOW_MAC_BUNDLE_CODE}")
|
||||||
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_HELP_TEXT="${DESKFLOW_HELP_TEXT}")
|
|
||||||
|
|
||||||
if(DESKFLOW_SHOW_DEV_THANKS)
|
if(DESKFLOW_SHOW_DEV_THANKS)
|
||||||
message(VERBOSE "Showing developer thanks message")
|
message(VERBOSE "Showing developer thanks message")
|
||||||
add_definitions(-DDESKFLOW_SHOW_DEV_THANKS)
|
add_definitions(-DDESKFLOW_SHOW_DEV_THANKS)
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,7 @@ void MainWindow::setupControls()
|
||||||
{
|
{
|
||||||
setWindowTitle(kAppName);
|
setWindowTitle(kAppName);
|
||||||
|
|
||||||
ui->m_pActionHelp->setText(DESKFLOW_HELP_TEXT);
|
ui->m_pActionHelp->setText(tr("Report a Bug"));
|
||||||
|
|
||||||
secureSocket(false);
|
secureSocket(false);
|
||||||
updateLocalFingerprint();
|
updateLocalFingerprint();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue