mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-02 23:02:41 -08:00
Fix DatabaseOpenDialog layout
This commit is contained in:
1 parent
34483a1287
commit
3dcac2c46c
3 files changed
+7
-5
No files matched your search
@@ -31,7 +31,10 @@ DatabaseOpenDialog::DatabaseOpenDialog(QWidget* parent)
|
||||
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint | Qt::ForeignWindow);
|
||||
#endif
|
||||
connect(m_view, SIGNAL(dialogFinished(bool)), this, SLOT(complete(bool)));
|
||||
setLayout(m_view->layout());
|
||||
auto* layout = new QVBoxLayout();
|
||||
layout->setMargin(0);
|
||||
setLayout(layout);
|
||||
layout->addWidget(m_view);
|
||||
setMinimumWidth(700);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user