diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-07-02 22:30:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-02 22:30:25 -0700 |
commit | e5b9bfb2e78ca86917d91fd41de1e797e570cf83 (patch) | |
tree | 168e11a17c2f1593215c165d6a5717be52894771 /launcher/ui/dialogs | |
parent | 8cb8273e67d4770300fdb7c3ce61feb19b1a899b (diff) | |
download | PrismLauncher-e5b9bfb2e78ca86917d91fd41de1e797e570cf83.tar.gz PrismLauncher-e5b9bfb2e78ca86917d91fd41de1e797e570cf83.tar.bz2 PrismLauncher-e5b9bfb2e78ca86917d91fd41de1e797e570cf83.zip |
fix: update if new size is larger
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r-- | launcher/ui/dialogs/ProgressDialog.cpp | 2 |
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 |