diff options
| author | Philip Kaufmann <[email protected]> | 2013-08-24 15:07:17 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2013-08-29 10:38:51 +0200 |
| commit | bdd0c59ab0b412b3e8595bd95f635f975e22bb85 (patch) | |
| tree | 3c54fa2eedf564de1a90cbfb2158b9ecc5dcb9ff /src/qt/test/paymentservertests.cpp | |
| parent | Merge pull request #2931 from Diapolo/intro (diff) | |
| download | discoin-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/test/paymentservertests.cpp')
| -rw-r--r-- | src/qt/test/paymentservertests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/test/paymentservertests.cpp b/src/qt/test/paymentservertests.cpp index 2e26ab0c9..6c8ad62b2 100644 --- a/src/qt/test/paymentservertests.cpp +++ b/src/qt/test/paymentservertests.cpp @@ -58,7 +58,8 @@ void PaymentServerTests::paymentServerTests() X509_STORE* caStore = X509_STORE_new(); X509_STORE_add_cert(caStore, parse_b64der_cert(caCert_BASE64)); PaymentServer::LoadRootCAs(caStore); - server->initNetManager(optionsModel); + server->setOptionsModel(&optionsModel); + server->initNetManager(); server->uiReady(); // Now feed PaymentRequests to server, and observe signals it produces: |