Fix DatabaseUnlockDialog window sizing.

Fixes the default shrink-wrap and wonky upscaling
behaviour of the DatabaseUnlockDialog window.
This commit is contained in:
Janek Bevendorff 2019-11-09 13:52:10 +01:00 committed by Jonathan White
parent d3978980d2
commit 29ca08f9ff

View File

@ -31,6 +31,8 @@ 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());
setMinimumWidth(700);
}
void DatabaseOpenDialog::setFilePath(const QString& filePath)