cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user