mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-01 03:46:42 -05:00
Fix DatabaseOpenDialog layout
This commit is contained in:
parent
34483a1287
commit
3dcac2c46c
3 changed files with 7 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue