aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/ProgressDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/ui/dialogs/ProgressDialog.cpp')
-rw-r--r--launcher/ui/dialogs/ProgressDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/ProgressDialog.cpp b/launcher/ui/dialogs/ProgressDialog.cpp
index f422d91e..3368a8c4 100644
--- a/launcher/ui/dialogs/ProgressDialog.cpp
+++ b/launcher/ui/dialogs/ProgressDialog.cpp
@@ -113,7 +113,7 @@ void ProgressDialog::updateSize()
QSize newSize = this->size();
// if the current window is too small
- if ((lastSize != minSize) && (lastSize.height() < newSize.height()))
+ if ((lastSize != newSize) && (lastSize.height() < newSize.height()))
{
QSize sizeDiff = lastSize - newSize; // last size was smaller, the results should be negative
// center on old position after resize