aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2018-10-31 20:04:05 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2018-10-31 20:29:08 +0200
commit53bb6be3f8a50ee9e5c4d7e9155236152e7c4b7c (patch)
tree2a83aac8f756be10530d156f6603fe2d2323a93a /src/qt/bitcoingui.cpp
parentf1e2f2a85962c1664e4e55471061af0eaa798d40 (diff)
downloadbitcoin-53bb6be3f8a50ee9e5c4d7e9155236152e7c4b7c.tar.xz
Remove obj_c for macOS Dock icon setting
Qt `setWindowIcon()` does this work.
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r--src/qt/bitcoingui.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 311841017f..5d34b8c7b0 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -92,12 +92,8 @@ BitcoinGUI::BitcoinGUI(interfaces::Node& node, const PlatformStyle *_platformSty
windowTitle += tr("Node");
}
windowTitle += " " + networkStyle->getTitleAddText();
-#ifndef Q_OS_MAC
QApplication::setWindowIcon(networkStyle->getTrayAndWindowIcon());
setWindowIcon(networkStyle->getTrayAndWindowIcon());
-#else
- MacDockIconHandler::instance()->setIcon(networkStyle->getAppIcon());
-#endif
setWindowTitle(windowTitle);
rpcConsole = new RPCConsole(node, _platformStyle, 0);