mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
parent
35d215aa70
commit
db18a14cde
1 changed files with 3 additions and 0 deletions
|
|
@ -555,6 +555,9 @@ MainWindow::MainWindow()
|
||||||
MessageWidget::Error);
|
MessageWidget::Error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Properly shutdown on logoff, restart, and shutdown
|
||||||
|
connect(qApp, &QGuiApplication::commitDataRequest, this, [this] { m_appExitCalled = true; });
|
||||||
|
|
||||||
#if defined(KEEPASSXC_BUILD_TYPE_SNAPSHOT) || defined(KEEPASSXC_BUILD_TYPE_PRE_RELEASE)
|
#if defined(KEEPASSXC_BUILD_TYPE_SNAPSHOT) || defined(KEEPASSXC_BUILD_TYPE_PRE_RELEASE)
|
||||||
auto* hidePreRelWarn = new QAction(tr("Don't show again for this version"), m_ui->globalMessageWidget);
|
auto* hidePreRelWarn = new QAction(tr("Don't show again for this version"), m_ui->globalMessageWidget);
|
||||||
m_ui->globalMessageWidget->addAction(hidePreRelWarn);
|
m_ui->globalMessageWidget->addAction(hidePreRelWarn);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue