diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-12-16 13:27:38 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-12-16 13:27:56 +0100 |
| commit | 28a274e6ce5f0326e3c86de810eb6f4a91c8f13c (patch) | |
| tree | 6587361abbe83041658d309a1a4ce7b9ed91478c /src | |
| parent | Merge pull request #5258 (diff) | |
| parent | [Qt] fix a <Qt4.7 compatibility issue raised in #5228 (diff) | |
| download | discoin-28a274e6ce5f0326e3c86de810eb6f4a91c8f13c.tar.xz discoin-28a274e6ce5f0326e3c86de810eb6f4a91c8f13c.zip | |
Merge pull request #5487
270f42d [Qt] fix a <Qt4.7 compatibility issue raised in #5228 (Jonas Schnelli)
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/networkstyle.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/networkstyle.cpp b/src/qt/networkstyle.cpp index ff05174fb..a1a067dd7 100644 --- a/src/qt/networkstyle.cpp +++ b/src/qt/networkstyle.cpp @@ -68,7 +68,11 @@ 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); |