Browse Source

fix building for windows

pull/34/head
Denio 5 years ago
parent
commit
fafad739ba
  1. 4
      src/mainwindow.cpp

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

Loading…
Cancel
Save