Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:ipbc-dev/bittube-wallet-gui
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillermoRP committed Jul 11, 2018
2 parents 12ea3f3 + df91bde commit a51f190
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion main.qml
Expand Up @@ -1775,7 +1775,9 @@ ApplicationWindow {
// Close wallet non async on exit
daemonManager.exit();
walletManager.closeWallet();
// walletManager.killMiner();
if (walletManager.isMining() == false) {
walletManager.killMiner();
}
Qt.quit();
}

Expand Down
3 changes: 2 additions & 1 deletion pages/Mining.qml
Expand Up @@ -1200,7 +1200,8 @@ Rectangle {
miningResultReportTableModel.set(1, {"label" : qsTr("Good results") + translationManager.emptyString});
miningResultReportTableModel.set(2, {"label" : qsTr("Avg result time") + translationManager.emptyString});
miningResultReportTableModel.set(3, {"label" : qsTr("Pool-side hashes") + translationManager.emptyString});

}

function onPageClosed() {
timer.running = false

Expand Down
2 changes: 1 addition & 1 deletion src/libwalletqt/WalletManager.cpp
Expand Up @@ -485,7 +485,7 @@ bool WalletManager::clearWalletCache(const QString &wallet_path) const
return walletCache.rename(newFileName);
}

WalletManager::WalletManager(QObject *parent) : QObject(parent)
WalletManager::WalletManager(QObject *parent) : QObject(parent), internal_miner(nullptr)
{
m_pimpl = Monero::WalletManagerFactory::getWalletManager();
m_httpServ = new HttpService();
Expand Down

0 comments on commit a51f190

Please sign in to comment.