fix building for windows

This commit is contained in:
Denio
2019-11-20 13:48:50 +01:00
parent 376b3a28c0
commit fafad739ba

View File

@@ -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();