Add support for nightly builds to release tool

This commit is contained in:
Jonathan White
2017-11-27 22:46:03 -05:00
committed by Janek Bevendorff
parent bed921c593
commit 3e2443a861
10 changed files with 79 additions and 12 deletions

View File

@@ -424,6 +424,13 @@ MainWindow::MainWindow()
connect(m_ui->tabWidget, SIGNAL(messageDismissGlobal()), this, SLOT(showKeePassHTTPDeprecationNotice()));
}
#endif
#ifndef KEEPASSXC_RELEASE_BUILD
m_ui->globalMessageWidget->showMessage(tr("WARNING: You are using an unstable build of KeePassXC!\n"
"There is a high risk of corruption, maintain a backup of your databases.\n"
"This version is not meant for production use."),
MessageWidget::Warning, -1);
#endif
}
MainWindow::~MainWindow()