diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2015-01-12 14:01:23 +0100 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@theqtcompany.com> | 2015-07-08 12:44:50 +0000 |
commit | c7d9d8cfe6d61d324340c3b62b540bdb64a9b11f (patch) | |
tree | 66b453e95d6621ef38f59879694d242309aa05ed /src/widgets/dialogs/qprogressdialog.cpp | |
parent | ac95c1b38ba4f322caff687373ad7754abf543eb (diff) |
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 <Timur.Pocheptsov@digia.com>
Diffstat (limited to 'src/widgets/dialogs/qprogressdialog.cpp')
-rw-r--r-- | src/widgets/dialogs/qprogressdialog.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/widgets/dialogs/qprogressdialog.cpp b/src/widgets/dialogs/qprogressdialog.cpp index 4e8e245813..97e9267a9d 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) |