Skip to content

Commit 7585010

Browse files
committed
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.
1 parent be41716 commit 7585010

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/qt/guiutil.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,6 @@ void PolishProgressDialog(QProgressDialog* dialog)
818818
// Workaround for macOS-only Qt bug; see: QTBUG-65750, QTBUG-70357.
819819
const int margin = TextWidth(dialog->fontMetrics(), ("X"));
820820
dialog->resize(dialog->width() + 2 * margin, dialog->height());
821-
dialog->show();
822821
#else
823822
Q_UNUSED(dialog);
824823
#endif

0 commit comments

Comments
 (0)