We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f32ed71 commit d619594Copy full SHA for d619594
src/gui/DatabaseOpenDialog.cpp
@@ -35,12 +35,8 @@ DatabaseOpenDialog::DatabaseOpenDialog(QWidget* parent)
35
, m_tabBar(new QTabBar(this))
36
{
37
setWindowTitle(tr("Unlock Database - KeePassXC"));
38
- setWindowFlags(Qt::Dialog);
+ setWindowFlags(Qt::Dialog | Qt::WindowStaysOnTopHint);
39
setWindowFlag(Qt::WindowContextHelpButtonHint, false);
40
-#ifdef Q_OS_LINUX
41
- // Linux requires this to overcome some Desktop Environments (also no Quick Unlock)
42
- setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
43
-#endif
44
// block input to the main window/application while the dialog is open
45
setWindowModality(Qt::ApplicationModal);
46
#ifdef Q_OS_WIN
0 commit comments