mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
nodes: don't set status text
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user