nodes: don't set status text

This commit is contained in:
tobtoht 2022-03-15 11:32:47 +01:00
parent 253a6aa024
commit 15bed134af
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C
4 changed files with 0 additions and 8 deletions

View file

@ -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;

View file

@ -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:

View file

@ -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())

View file

@ -137,7 +137,6 @@ public slots:
signals:
void WSNodeExhausted();
void nodeExhausted();
void updateStatus(const QString &msg);
private slots:
void onWalletRefreshed();