diff --git a/src/dialogs/dialogs.cpp b/src/dialogs/dialogs.cpp index 2215ed2..0e8143f 100644 --- a/src/dialogs/dialogs.cpp +++ b/src/dialogs/dialogs.cpp @@ -81,7 +81,6 @@ void InputDialog::checkInput(QString text) ProgressDialog::ProgressDialog(QWidget *parent) : QDialog(parent) { resize(220, 100); - setFixedHeight(100); setModal(true); setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); @@ -103,6 +102,8 @@ ProgressDialog::ProgressDialog(QWidget *parent) : QDialog(parent) layout->addWidget(progress); layout->addWidget(buttons); + setFixedHeight((sizeHint().height() < 100) ? 100 : sizeHint().height()); + #ifdef WINEXTRAS isWinExtras = QSysInfo::windowsVersion() >= QSysInfo::WV_VISTA; if (isWinExtras) {