From fafad739ba3f5779b5e0fdccae99c94c705df327 Mon Sep 17 00:00:00 2001 From: Denio Date: Wed, 20 Nov 2019 13:48:50 +0100 Subject: [PATCH] fix building for windows --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index de7cfeb..c547f95 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -113,9 +113,9 @@ MainWindow::MainWindow(QWidget *parent) : QObject::connect(ui->actionRescan, &QAction::triggered, [=]() { // To rescan, we clear the wallet state, and then reload the connection // This will start a sync, and show the scanning status. - getRPC()->clearWallet([=] (auto) { + this->getRPC()->clearWallet([=] (auto) { // Save the wallet - getRPC()->saveWallet([=] (auto) { + this->getRPC()->saveWallet([=] (auto) { // Then reload the connection. The ConnectionLoader deletes itself. auto cl = new ConnectionLoader(this, rpc); cl->loadConnection();