aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-09-21 12:15:18 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-09-21 12:06:58 +0200
commitfa58edbffe929da45004d4406d7d1ffc7d14dc98 (patch)
tree0c35b5706ba8c32c607ea42f3af5dc8a0e683998 /src/qt
parentfab91070d38aa248a852e04c56dcb73e4022872d (diff)
downloadbitcoin-fa58edbffe929da45004d4406d7d1ffc7d14dc98.tar.xz
[wallet] Introduce DEFAULT_DISABLE_WALLET
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoingui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 272df3fdae..dcd3f155b9 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -123,7 +123,7 @@ BitcoinGUI::BitcoinGUI(const PlatformStyle *platformStyle, const NetworkStyle *n
QString windowTitle = tr(PACKAGE_NAME) + " - ";
#ifdef ENABLE_WALLET
/* if compiled with wallet support, -disablewallet can still disable the wallet */
- enableWallet = !GetBoolArg("-disablewallet", false);
+ enableWallet = !GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET);
#else
enableWallet = false;
#endif // ENABLE_WALLET