build: rm DESKFLOW_HELP_TEXT define

This commit is contained in:
sithlord48
2024-10-28 17:56:56 -04:00
committed by Nick Bolton
parent bdcf770de6
commit 366932a188
2 changed files with 1 additions and 8 deletions

View File

@ -54,10 +54,6 @@ endmacro()
macro(configure_meta)
set(DESKFLOW_HELP_TEXT
"Report a bug"
CACHE STRING "Text label for the help menu item")
set(DESKFLOW_DEPLOY_RES_DIR
"${PROJECT_SOURCE_DIR}/deploy"
CACHE STRING "Deploy resource directory for images, etc")
@ -70,14 +66,11 @@ macro(configure_meta)
true
CACHE BOOL "Show developer thanks message")
message(VERBOSE "Help text: ${DESKFLOW_HELP_TEXT}")
message(VERBOSE "Res dir: ${DESKFLOW_DEPLOY_RES_DIR}")
message(VERBOSE "Mac bundle code: ${DESKFLOW_MAC_BUNDLE_CODE}")
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_HELP_TEXT="${DESKFLOW_HELP_TEXT}")
if(DESKFLOW_SHOW_DEV_THANKS)
message(VERBOSE "Showing developer thanks message")
add_definitions(-DDESKFLOW_SHOW_DEV_THANKS)

View File

@ -142,7 +142,7 @@ void MainWindow::setupControls()
{
setWindowTitle(kAppName);
ui->m_pActionHelp->setText(DESKFLOW_HELP_TEXT);
ui->m_pActionHelp->setText(tr("Report a Bug"));
secureSocket(false);
updateLocalFingerprint();