aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2013-08-24 15:07:17 +0200
committerPhilip Kaufmann <[email protected]>2013-08-29 10:38:51 +0200
commitbdd0c59ab0b412b3e8595bd95f635f975e22bb85 (patch)
tree3c54fa2eedf564de1a90cbfb2158b9ecc5dcb9ff /src/qt/bitcoin.cpp
parentMerge pull request #2931 from Diapolo/intro (diff)
downloaddiscoin-bdd0c59ab0b412b3e8595bd95f635f975e22bb85.tar.xz
discoin-bdd0c59ab0b412b3e8595bd95f635f975e22bb85.zip
Bitcoin-Qt: fixes for using display unit from options
- extend PaymentServer with setOptionsModel() and rework initNetManager() to make use of that - fix all other places in the code to use display unit from options and no hard-coded unit
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r--src/qt/bitcoin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index 9c290fa71..f2386f3cf 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -300,7 +300,8 @@ int main(int argc, char *argv[])
optionsModel.Upgrade(); // Must be done after AppInit2
PaymentServer::LoadRootCAs();
- paymentServer->initNetManager(optionsModel);
+ paymentServer->setOptionsModel(&optionsModel);
+ paymentServer->initNetManager();
if (splashref)
splash.finish(&window);