Lock database on switching user in macOS

This commit is contained in:
varjolintu 2019-04-28 11:08:20 +03:00 committed by Jonathan White
parent e4eee897f9
commit ebe6649683
7 changed files with 60 additions and 21 deletions

View file

@ -63,6 +63,10 @@ DatabaseTabWidget::DatabaseTabWidget(QWidget* parent)
connect(autoType(), SIGNAL(autotypePerformed()), SLOT(relockPendingDatabase()));
connect(autoType(), SIGNAL(autotypeRejected()), SLOT(relockPendingDatabase()));
// clang-format on
#ifdef Q_OS_MACOS
connect(macUtils(), SIGNAL(lockDatabases()), SLOT(lockDatabases()));
#endif
}
DatabaseTabWidget::~DatabaseTabWidget()