Cmake: add SELF_CONTAINED

This commit is contained in:
tobtoht
2022-02-25 20:48:14 +01:00
parent 2f4c4a7650
commit f816f44f4c
3 changed files with 9 additions and 0 deletions
+4
View File
@@ -317,6 +317,10 @@ void MainWindow::initMenu() {
ui->actionCreateDesktopEntry->setDisabled(true);
#endif
#ifndef SELF_CONTAINED
ui->actionCreateDesktopEntry->setVisible(false);
#endif
// [Help]
connect(ui->actionAbout, &QAction::triggered, this, &MainWindow::menuAboutClicked);
connect(ui->actionOfficialWebsite, &QAction::triggered, [this](){Utils::externalLinkWarning(this, "https://featherwallet.org");});