mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
Bring the database open/unlock dialogue box into line with other on-top windows.
This commit is contained in:
parent
f32ed71dfc
commit
d61959466e
1 changed files with 1 additions and 5 deletions
|
|
@ -35,12 +35,8 @@ DatabaseOpenDialog::DatabaseOpenDialog(QWidget* parent)
|
|||
, m_tabBar(new QTabBar(this))
|
||||
{
|
||||
setWindowTitle(tr("Unlock Database - KeePassXC"));
|
||||
setWindowFlags(Qt::Dialog);
|
||||
setWindowFlags(Qt::Dialog | Qt::WindowStaysOnTopHint);
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint, false);
|
||||
#ifdef Q_OS_LINUX
|
||||
// Linux requires this to overcome some Desktop Environments (also no Quick Unlock)
|
||||
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
|
||||
#endif
|
||||
// block input to the main window/application while the dialog is open
|
||||
setWindowModality(Qt::ApplicationModal);
|
||||
#ifdef Q_OS_WIN
|
||||
|
|
|
|||
Loading…
Reference in a new issue