diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-06-13 16:02:39 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-06-18 12:22:11 +0200 |
| commit | 907f73bbc5b6c98b01d7c6088a294dea66634a3f (patch) | |
| tree | dc13b60296bed0a15e1ed829681fa105db8c8d86 /src/qt/guiutil.h | |
| parent | build: Build system changes to support only Qt5 (diff) | |
| download | discoin-907f73bbc5b6c98b01d7c6088a294dea66634a3f.tar.xz discoin-907f73bbc5b6c98b01d7c6088a294dea66634a3f.zip | |
gui: Remove QT_VERSION fallbacks for Qt < 5
There were surprisingly many `#ifdef` fallbacks for Qt 4.
Remiving them simplifies maintenance, as well as adding new GUI
functionality.
Diffstat (limited to 'src/qt/guiutil.h')
| -rw-r--r-- | src/qt/guiutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 4a2696409..e965a91d1 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -233,7 +233,7 @@ namespace GUIUtil void mouseReleaseEvent(QMouseEvent *event); }; -#if defined(Q_OS_MAC) && QT_VERSION >= 0x050000 +#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 |