diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-13 16:02:39 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-18 12:22:11 +0200 |
commit | 907f73bbc5b6c98b01d7c6088a294dea66634a3f (patch) | |
tree | dc13b60296bed0a15e1ed829681fa105db8c8d86 /src/qt/networkstyle.cpp | |
parent | bad068ad9f4bc60bfc10e27d4ffaec92d7df8491 (diff) |
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 2816633b0f..c4b732e3e0 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); |