This commit is contained in:
adityapk
2018-11-08 14:43:10 -08:00
parent b1a5d6ec69
commit 71f4433a39
6 changed files with 12 additions and 17 deletions

View File

@@ -265,7 +265,7 @@ bool ConnectionLoader::startEmbeddedZcashd() {
void ConnectionLoader::doManualConnect() {
auto config = loadFromSettings();
if (config.get() == nullptr) {
if (!config) {
// Nothing configured, show an error
QString explanation = QString()
% "A manual connection was requested, but the settings are not configured.\n\n"
@@ -569,4 +569,4 @@ void Connection::showTxError(const QString& error) {
*/
void Connection::shutdown() {
shutdownInProgress = true;
}
}