macOS: disable AppNap during sync

Signed-off-by: Alexey Ivanov <alexey.ivanes@gmail.com>
This commit is contained in:
Alexey Ivanov
2018-11-01 18:22:06 +03:00
parent f6df989842
commit 1e0f3c4499
6 changed files with 116 additions and 4 deletions

View File

@@ -162,7 +162,8 @@ QT_MOC_CPP = \
BITCOIN_MM = \
qt/macdockiconhandler.mm \
qt/macnotificationhandler.mm
qt/macnotificationhandler.mm \
qt/macos_appnap.mm
QT_MOC = \
qt/bitcoin.moc \
@@ -205,6 +206,7 @@ BITCOIN_QT_H = \
qt/intro.h \
qt/macdockiconhandler.h \
qt/macnotificationhandler.h \
qt/macos_appnap.h \
qt/modaloverlay.h \
qt/networkstyle.h \
qt/notificator.h \