mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-17 08:06:59 +01:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user