summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Haigner <accounts@topmailservice.de>2018-04-05 15:08:59 +0200
committerPetr Mrázek <peterix@gmail.com>2018-04-07 00:46:49 +0200
commit9b7564e9674852b94dc415d369523ea1aca5f8d3 (patch)
tree1f8852620b2d15fb1c76da473436c4c277b370fa
parent15926b2b4a50daa9eb20a0ad7255c6b5fb0d7246 (diff)
downloadMultiMC-9b7564e9674852b94dc415d369523ea1aca5f8d3.tar
MultiMC-9b7564e9674852b94dc415d369523ea1aca5f8d3.tar.gz
MultiMC-9b7564e9674852b94dc415d369523ea1aca5f8d3.tar.lz
MultiMC-9b7564e9674852b94dc415d369523ea1aca5f8d3.tar.xz
MultiMC-9b7564e9674852b94dc415d369523ea1aca5f8d3.zip
NOISSUE Fixed progress dialog
-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)