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/networkstyle.cpp | |
| 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/networkstyle.cpp')
| -rw-r--r-- | src/qt/networkstyle.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qt/networkstyle.cpp b/src/qt/networkstyle.cpp index 2816633b0..c4b732e3e 100644 --- a/src/qt/networkstyle.cpp +++ b/src/qt/networkstyle.cpp @@ -68,11 +68,7 @@ NetworkStyle::NetworkStyle(const QString &_appName, const int iconColorHueShift, } //convert back to QPixmap -#if QT_VERSION >= 0x040700 pixmap.convertFromImage(img); -#else - pixmap = QPixmap::fromImage(img); -#endif } appIcon = QIcon(pixmap); |