Browse Source

Merge pull request #3146 from Diapolo/paymentserver_init

paymentserver: init all class members in constructor
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
356587686c
  1. 7
      src/qt/paymentserver.cpp

7
src/qt/paymentserver.cpp

@ -250,7 +250,12 @@ bool PaymentServer::ipcSendCommandLine(int argc, char* argv[]) @@ -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.

Loading…
Cancel
Save