Browse Source

Cleanup (#61)

import_zecw
Dimitris Apostolou 6 years ago
committed by adityapk00
parent
commit
ba080c1ce4
  1. 4
      README.md
  2. 4
      src/connection.cpp
  3. 2
      src/mainwindow.cpp

4
README.md

@ -9,8 +9,8 @@ Head over to the releases page and grab the latest binary. https://github.com/ad
### Linux ### Linux
Extract and run the binary. Extract and run the binary.
``` ```
tar -xvf zec-qt-wallet-v0.4.1.tar.gz tar -xvf zec-qt-wallet-v0.4.2.tar.gz
./zec-qt-wallet-v0.4.1/zec-qt-wallet ./zec-qt-wallet-v0.4.2/zec-qt-wallet
``` ```
### Windows ### Windows

4
src/connection.cpp

@ -424,7 +424,7 @@ void ConnectionLoader::refreshZcashdState(Connection* connection, std::function<
dots = 0; dots = 0;
} }
this->showInformation("Your zcashd is starting up. Please wait.", status); this->showInformation("Your zcashd is starting up. Please wait.", status);
main->logger->write("Waiting to zcashd to come online."); main->logger->write("Waiting for zcashd to come online.");
// Refresh after one second // Refresh after one second
QTimer::singleShot(1000, [=]() { this->refreshZcashdState(connection, refused); }); QTimer::singleShot(1000, [=]() { this->refreshZcashdState(connection, refused); });
} }
@ -488,7 +488,7 @@ QString ConnectionLoader::zcashParamsDir() {
QDir().mkpath(paramsLocation.absolutePath()); QDir().mkpath(paramsLocation.absolutePath());
} }
main->logger->write("Found zcash params directory at " + paramsLocation.absolutePath()); main->logger->write("Found Zcash params directory at " + paramsLocation.absolutePath());
return paramsLocation.absolutePath(); return paramsLocation.absolutePath();
} }

2
src/mainwindow.cpp

@ -105,7 +105,7 @@ void MainWindow::closeEvent(QCloseEvent* event) {
s.setValue("baltablegeometry", ui->balancesTable->horizontalHeader()->saveState()); s.setValue("baltablegeometry", ui->balancesTable->horizontalHeader()->saveState());
s.setValue("tratablegeometry", ui->transactionsTable->horizontalHeader()->saveState()); s.setValue("tratablegeometry", ui->transactionsTable->horizontalHeader()->saveState());
// Let the RPC know to shutdown any running service. // Let the RPC know to shut down any running service.
rpc->shutdownZcashd(); rpc->shutdownZcashd();
// Bubble up // Bubble up

Loading…
Cancel
Save