mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
Statusbar: block remaining instead of absolute values
This commit is contained in:
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user