Grow the dialog to account for our added widgets.

svn path=/trunk/; revision=44142
This commit is contained in:
Gerald Combs 2012-07-30 21:22:53 +00:00
parent afe900aa9f
commit 3392211002
1 changed files with 3 additions and 0 deletions

View File

@ -200,6 +200,9 @@ CaptureFileDialog::CaptureFileDialog(QWidget *parent, QString &fileName, QString
previewGrid->addWidget(&m_previewElapsed, 4, 1);
m_previewLabels << lbl << &m_previewElapsed;
// Grow the dialog to account for the extra widgets.
resize(width(), height() + hBox->minimumSize().height() + m_displayFilterEdit->minimumSize().height());
connect(this, SIGNAL(currentChanged(const QString &)), this, SLOT(preview(const QString &)));
preview("");