diff --git a/src/connection.cpp b/src/connection.cpp index f410824..99cd456 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -90,7 +90,7 @@ void ConnectionLoader::refreshZcashdState(Connection* connection) { [=] (auto) { // Success, hide the dialog if it was shown. d->hide(); - doRPCSetConnection(connection); + this->doRPCSetConnection(connection); }, [=] (auto reply, auto res) { d->show(); diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 70675ce..3795e55 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -493,7 +493,7 @@ void MainWindow::exportAllKeys() { if (!file.open(QIODevice::WriteOnly)) { QMessageBox::information(this, tr("Unable to open file"), file.errorString()); return; - } + } QTextStream out(&file); out << pui.privKeyTxt->toPlainText(); });