aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2018-07-09 10:05:00 +0800
committerfanquake <fanquake@gmail.com>2018-07-25 07:30:28 +0800
commitfa6e841e89d164850dcfb6efe5b03992594c1ca3 (patch)
treecbb3b60c73632331a148bbb38e494979201ff1a4 /src
parent68c272527f8eb9cc8e7699bbb8956512e5b2e42d (diff)
gui: remove macOS ProgressBar workaround
Diffstat (limited to 'src')
-rw-r--r--src/qt/guiutil.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h
index 651b96e3f8..199aa9474f 100644
--- a/src/qt/guiutil.h
+++ b/src/qt/guiutil.h
@@ -230,19 +230,7 @@ namespace GUIUtil
void mouseReleaseEvent(QMouseEvent *event);
};
-#if defined(Q_OS_MAC)
- // workaround for Qt OSX Bug:
- // https://bugreports.qt-project.org/browse/QTBUG-15631
- // QProgressBar uses around 10% CPU even when app is in background
- class ProgressBar : public ClickableProgressBar
- {
- bool event(QEvent *e) {
- return (e->type() != QEvent::StyleAnimationUpdate) ? QProgressBar::event(e) : false;
- }
- };
-#else
typedef ClickableProgressBar ProgressBar;
-#endif
} // namespace GUIUtil