|
|
@ -657,7 +657,6 @@ std::shared_ptr<ConnectionConfig> ConnectionLoader::autoDetectZcashConf() { |
|
|
|
zcashconf->zcashDir = QFileInfo(confLocation).absoluteDir().absolutePath(); |
|
|
|
zcashconf->zcashDaemon = false; |
|
|
|
|
|
|
|
|
|
|
|
Settings::getInstance()->setUsingZcashConf(confLocation); |
|
|
|
|
|
|
|
while (!in.atEnd()) { |
|
|
@ -721,7 +720,7 @@ std::shared_ptr<ConnectionConfig> ConnectionLoader::loadFromSettings() { |
|
|
|
if (username.isEmpty() || password.isEmpty()) |
|
|
|
return nullptr; |
|
|
|
|
|
|
|
auto uiConfig = new ConnectionConfig{ host, port, username, password, false, false,"","" "", "","","", ConnectionType::UISettingsZCashD}; |
|
|
|
auto uiConfig = new ConnectionConfig{ host, port, username, password, false, false,"","", "", "","", ConnectionType::UISettingsZCashD}; |
|
|
|
|
|
|
|
return std::shared_ptr<ConnectionConfig>(uiConfig); |
|
|
|
} |
|
|
|