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);
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;
void menuHwDeviceClicked();
void onUpdatesAvailable(const QJsonObject &updates);
void toggleSearchbar(bool enabled);
- void onSetStatusText(const QString &text);
void tryStoreWallet();
private:
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())