mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
Merge pull request 'Statusbar: block remaining instead of absolute values' (#229) from tobtoht/feather:block_remaining into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/229
This commit is contained in:
commit
d4fda0f5f3
1 changed files with 2 additions and 2 deletions
|
@ -675,12 +675,12 @@ void MainWindow::onSynchronized() {
|
|||
}
|
||||
|
||||
void MainWindow::onBlockchainSync(int height, int target) {
|
||||
QString heightText = QString("Blockchain sync: %1/%2").arg(height).arg(target);
|
||||
QString heightText = QString("Blockchain sync: %1 blocks remaining").arg(target - height);
|
||||
m_statusLabelStatus->setText(heightText);
|
||||
}
|
||||
|
||||
void MainWindow::onRefreshSync(int height, int target) {
|
||||
QString heightText = QString("Wallet refresh: %1/%2").arg(height).arg(target);
|
||||
QString heightText = QString("Wallet refresh: %1 blocks remaining").arg(target - height);
|
||||
m_statusLabelStatus->setText(heightText);
|
||||
this->updateNetStats();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue