NOISSUE Fixed progress dialog

This commit is contained in:
Lukas Haigner 2018-04-05 15:08:59 +02:00 committed by Petr Mrázek
parent 15926b2b4a
commit 9b7564e967

View File

@ -53,7 +53,9 @@ ProgressDialog::~ProgressDialog()
void ProgressDialog::updateSize() void ProgressDialog::updateSize()
{ {
resize(QSize(480, minimumSizeHint().height())); QSize qSize = QSize(480, minimumSizeHint().height());
resize(qSize);
setFixedSize(qSize);
} }
int ProgressDialog::execWithTask(Task *task) int ProgressDialog::execWithTask(Task *task)