|
|
@ -147,11 +147,6 @@ void OverviewPage::setBalance(qint64 balance, qint64 unconfirmedBalance, qint64
|
|
|
|
ui->labelImmatureText->setVisible(showImmature);
|
|
|
|
ui->labelImmatureText->setVisible(showImmature);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void OverviewPage::setNumTransactions(int count)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ui->labelNumTransactions->setText(QLocale::system().toString(count));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void OverviewPage::setClientModel(ClientModel *model)
|
|
|
|
void OverviewPage::setClientModel(ClientModel *model)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
this->clientModel = model;
|
|
|
|
this->clientModel = model;
|
|
|
@ -183,9 +178,6 @@ void OverviewPage::setWalletModel(WalletModel *model)
|
|
|
|
setBalance(model->getBalance(), model->getUnconfirmedBalance(), model->getImmatureBalance());
|
|
|
|
setBalance(model->getBalance(), model->getUnconfirmedBalance(), model->getImmatureBalance());
|
|
|
|
connect(model, SIGNAL(balanceChanged(qint64, qint64, qint64)), this, SLOT(setBalance(qint64, qint64, qint64)));
|
|
|
|
connect(model, SIGNAL(balanceChanged(qint64, qint64, qint64)), this, SLOT(setBalance(qint64, qint64, qint64)));
|
|
|
|
|
|
|
|
|
|
|
|
setNumTransactions(model->getNumTransactions());
|
|
|
|
|
|
|
|
connect(model, SIGNAL(numTransactionsChanged(int)), this, SLOT(setNumTransactions(int)));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
connect(model->getOptionsModel(), SIGNAL(displayUnitChanged(int)), this, SLOT(updateDisplayUnit()));
|
|
|
|
connect(model->getOptionsModel(), SIGNAL(displayUnitChanged(int)), this, SLOT(updateDisplayUnit()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|