diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-10-24 08:52:58 -0700 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-10-24 08:52:58 -0700 |
commit | 356587686cc5027adbd73e3a5b5c4bdf7861cfa3 (patch) | |
tree | d6245c1fa0195ca3ef89c8bb22b69a3df9387560 /src/qt/paymentserver.cpp | |
parent | faf923f06ad721846c35bcc76a7ed51cf03c318f (diff) | |
parent | 9195e0bed248a2c2796f90e7fcd4b40738cc5617 (diff) |
Merge pull request #3146 from Diapolo/paymentserver_init
paymentserver: init all class members in constructor
Diffstat (limited to 'src/qt/paymentserver.cpp')
-rw-r--r-- | src/qt/paymentserver.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp index af75d6b4e5..3b38758fbb 100644 --- a/src/qt/paymentserver.cpp +++ b/src/qt/paymentserver.cpp @@ -250,7 +250,12 @@ bool PaymentServer::ipcSendCommandLine(int argc, char* argv[]) return fResult; } -PaymentServer::PaymentServer(QObject* parent, bool startLocalServer) : QObject(parent), saveURIs(true) +PaymentServer::PaymentServer(QObject* parent, bool startLocalServer) : + QObject(parent), + saveURIs(true), + uriServer(0), + netManager(0), + optionsModel(0) { // Verify that the version of the library that we linked against is // compatible with the version of the headers we compiled against. |