summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/dialogs/ProgressDialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/dialogs/ProgressDialog.cpp b/application/dialogs/ProgressDialog.cpp
index 9bf54a52..056a0ffb 100644
--- a/application/dialogs/ProgressDialog.cpp
+++ b/application/dialogs/ProgressDialog.cpp
@@ -53,7 +53,9 @@ ProgressDialog::~ProgressDialog()
void ProgressDialog::updateSize()
{
- resize(QSize(480, minimumSizeHint().height()));
+ QSize qSize = QSize(480, minimumSizeHint().height());
+ resize(qSize);
+ setFixedSize(qSize);
}
int ProgressDialog::execWithTask(Task *task)