From c7d9d8cfe6d61d324340c3b62b540bdb64a9b11f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Mon, 12 Jan 2015 14:01:23 +0100 Subject: [PATCH] Remove Q_DEAD_CODE_FROM_QT4_MAC section Its not known if the call to flush() is required in Qt 5. It has been compiled out until now; remove it. Change-Id: I7033e02af8ac7ea2a357d1287e368b541d1d6776 Reviewed-by: Timur Pocheptsov --- src/widgets/dialogs/qprogressdialog.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/widgets/dialogs/qprogressdialog.cpp b/src/widgets/dialogs/qprogressdialog.cpp index 4e8e2458138..97e9267a9d4 100644 --- a/src/widgets/dialogs/qprogressdialog.cpp +++ b/src/widgets/dialogs/qprogressdialog.cpp @@ -697,9 +697,6 @@ void QProgressDialog::setValue(int progress) d->shown_once = true; } } -#ifdef Q_DEAD_CODE_FROM_QT4_MAC - QApplication::flush(); -#endif } if (progress == d->bar->maximum() && d->autoReset)