[Qt, OSX] fix Qt4.8 compatibility with QProgressBar issue
Rebased-From: 7f33d2cebfde99ded12c711ef6bd77c91725cfb8 Github-Issue: #5344
This commit is contained in:
parent
f24bcce2ac
commit
c5a2282855
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ namespace GUIUtil
|
||||||
/* Format a CNodeCombinedStats.dPingTime into a user-readable string or display N/A, if 0*/
|
/* Format a CNodeCombinedStats.dPingTime into a user-readable string or display N/A, if 0*/
|
||||||
QString formatPingTime(double dPingTime);
|
QString formatPingTime(double dPingTime);
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#if defined(Q_OS_MAC) && QT_VERSION >= 0x050000
|
||||||
// workaround for Qt OSX Bug:
|
// workaround for Qt OSX Bug:
|
||||||
// https://bugreports.qt-project.org/browse/QTBUG-15631
|
// https://bugreports.qt-project.org/browse/QTBUG-15631
|
||||||
// QProgressBar uses around 10% CPU even when app is in background
|
// QProgressBar uses around 10% CPU even when app is in background
|
||||||
|
|
Loading…
Reference in a new issue