fix for DEFAULT_NODE_AUTH_URL

This commit is contained in:
Stephen Birarda 2015-01-23 13:05:02 -08:00
parent a3b92e05da
commit 5b81fa27fc

View file

@ -59,7 +59,7 @@ JSONCallbackParameters::JSONCallbackParameters(QObject* jsonCallbackReceiver, co
}
AccountManager::AccountManager() :
_authURL(DEFAULT_NODE_AUTH_URL),
_authURL(),
_pendingCallbackMap(),
_accountInfo(),
_shouldPersistToSettingsFile(true)
@ -74,6 +74,8 @@ AccountManager::AccountManager() :
qRegisterMetaType<JSONCallbackParameters>("JSONCallbackParameters");
qRegisterMetaType<QHttpMultiPart*>("QHttpMultiPart*");
setAuthURL(DEFAULT_NODE_AUTH_URL);
connect(&_accountInfo, &DataServerAccountInfo::balanceChanged, this, &AccountManager::accountInfoBalanceChanged);
}