mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-08 20:09:43 +00:00
nodes: don't set status text
This commit is contained in:
parent
253a6aa024
commit
15bed134af
4 changed files with 0 additions and 8 deletions
|
@ -383,7 +383,6 @@ void MainWindow::initWalletContext() {
|
|||
connect(m_ctx.get(), &AppContext::keysCorrupted, this, &MainWindow::onKeysCorrupted);
|
||||
|
||||
// Nodes
|
||||
connect(m_ctx->nodes, &Nodes::updateStatus, this, &MainWindow::onSetStatusText);
|
||||
connect(m_ctx->nodes, &Nodes::nodeExhausted, this, &MainWindow::showNodeExhaustedMessage);
|
||||
connect(m_ctx->nodes, &Nodes::WSNodeExhausted, this, &MainWindow::showWSNodeExhaustedMessage);
|
||||
|
||||
|
@ -513,10 +512,6 @@ void MainWindow::onBalanceUpdated(quint64 balance, quint64 spendable) {
|
|||
m_balanceTickerWidget->setHidden(hide);
|
||||
}
|
||||
|
||||
void MainWindow::onSetStatusText(const QString &text) {
|
||||
this->setStatusText(text);
|
||||
}
|
||||
|
||||
void MainWindow::setStatusText(const QString &text, bool override, int timeout) {
|
||||
if (override) {
|
||||
m_statusOverrideActive = true;
|
||||
|
|
|
@ -181,7 +181,6 @@ private slots:
|
|||
void menuHwDeviceClicked();
|
||||
void onUpdatesAvailable(const QJsonObject &updates);
|
||||
void toggleSearchbar(bool enabled);
|
||||
void onSetStatusText(const QString &text);
|
||||
void tryStoreWallet();
|
||||
|
||||
private:
|
||||
|
|
|
@ -196,7 +196,6 @@ void Nodes::connectToNode(const FeatherNode &node) {
|
|||
return;
|
||||
}
|
||||
|
||||
emit updateStatus(QString("Connecting to %1").arg(node.toAddress()));
|
||||
qInfo() << QString("Attempting to connect to %1 (%2)").arg(node.toAddress()).arg(node.custom ? "custom" : "ws");
|
||||
|
||||
if (!node.url.userName().isEmpty() && !node.url.password().isEmpty())
|
||||
|
|
|
@ -137,7 +137,6 @@ public slots:
|
|||
signals:
|
||||
void WSNodeExhausted();
|
||||
void nodeExhausted();
|
||||
void updateStatus(const QString &msg);
|
||||
|
||||
private slots:
|
||||
void onWalletRefreshed();
|
||||
|
|
Loading…
Reference in a new issue