diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-05-22 21:20:06 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-05-22 21:33:20 +0300 |
commit | 75850106aeecfed1d2dc16d8a67ec210c5826a47 (patch) | |
tree | 23254d8b3ed7a79147145f7ee04bbb5cfeaa8253 | |
parent | be4171679b8eab8205e04ff86140329bd67878a0 (diff) |
qt, macos: Fix GUIUtil::PolishProgressDialog bug
QProgressDialog shows itself if the estimated time an operation will
take is beyond the minimumDuration value.
Direct call show() breaks that behavior on macos.
-rw-r--r-- | src/qt/guiutil.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 4691937380..d21f9074e7 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -818,7 +818,6 @@ void PolishProgressDialog(QProgressDialog* dialog) // Workaround for macOS-only Qt bug; see: QTBUG-65750, QTBUG-70357. const int margin = TextWidth(dialog->fontMetrics(), ("X")); dialog->resize(dialog->width() + 2 * margin, dialog->height()); - dialog->show(); #else Q_UNUSED(dialog); #endif |