aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.h
diff options
context:
space:
mode:
authorJonas Schnelli <jonas.schnelli@include7.ch>2014-11-21 20:07:00 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-11-24 15:26:58 +0100
commitc5a22828559bdac8fd347e30a3027dbaf54934ae (patch)
tree446efbb03b55ca04f95ec02c44b13fc2d4188e13 /src/qt/guiutil.h
parentf24bcce2ac3e049142ff077c0de5e40a52e59b5e (diff)
[Qt, OSX] fix Qt4.8 compatibility with QProgressBar issue
Rebased-From: 7f33d2cebfde99ded12c711ef6bd77c91725cfb8 Github-Issue: #5344
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r--src/qt/guiutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h
index a6ecfbcc82..09c79db2d9 100644
--- a/src/qt/guiutil.h
+++ b/src/qt/guiutil.h
@@ -189,7 +189,7 @@ namespace GUIUtil
/* Format a CNodeCombinedStats.dPingTime into a user-readable string or display N/A, if 0*/
QString formatPingTime(double dPingTime);
-#ifdef Q_OS_MAC
+#if defined(Q_OS_MAC) && QT_VERSION >= 0x050000
// workaround for Qt OSX Bug:
// https://bugreports.qt-project.org/browse/QTBUG-15631
// QProgressBar uses around 10% CPU even when app is in background