mirror of
https://github.com/feather-wallet/feather.git
synced 2025-04-23 20:58:13 +00:00
Merge f264d88006
into 1194f780e4
This commit is contained in:
commit
b018edefd6
4 changed files with 7 additions and 6 deletions
src
|
@ -698,9 +698,10 @@ void MainWindow::onMultiBroadcast(const QMap<QString, QString> &txHexMap) {
|
|||
}
|
||||
}
|
||||
|
||||
void MainWindow::onSynchronized() {
|
||||
void MainWindow::onSynchronized(int height, int target) {
|
||||
QString heightText = QString("Synchronized at height %1").arg(QString::number(height));
|
||||
this->updateNetStats();
|
||||
this->setStatusText("Synchronized");
|
||||
this->setStatusText(heightText);
|
||||
}
|
||||
|
||||
void MainWindow::onBlockchainSync(int height, int target) {
|
||||
|
@ -1852,4 +1853,4 @@ int MainWindow::findTab(const QString &title) {
|
|||
|
||||
MainWindow::~MainWindow() {
|
||||
qDebug() << "~MainWindow";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -127,7 +127,7 @@ private slots:
|
|||
|
||||
// libwalletqt
|
||||
void onBalanceUpdated(quint64 balance, quint64 spendable);
|
||||
void onSynchronized();
|
||||
void onSynchronized(int height, int target);
|
||||
void onWalletOpened();
|
||||
void onConnectionStatusChanged(int status);
|
||||
void onTransactionCreated(PendingTransaction *tx, const QVector<QString> &address);
|
||||
|
|
|
@ -428,7 +428,7 @@ void Wallet::syncStatusUpdated(quint64 height, quint64 target) {
|
|||
}
|
||||
else {
|
||||
this->updateBalance();
|
||||
emit synchronized();
|
||||
emit synchronized(height, target);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -442,7 +442,7 @@ signals:
|
|||
|
||||
void refreshSync(int height, int target);
|
||||
void blockchainSync(int height, int target);
|
||||
void synchronized();
|
||||
void synchronized(int height, int target);
|
||||
void balanceUpdated(quint64 balance, quint64 spendable);
|
||||
void keysCorrupted();
|
||||
|
||||
|
|
Loading…
Reference in a new issue