websocket: remove explicit disconnect

This commit is contained in:
tobtoht
2023-03-01 13:28:01 +01:00
parent 103bc6408f
commit f416cd6e84
11 changed files with 34 additions and 42 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ void DebugInfoDialog::updateInfo() {
auto node = m_nodes->connection();
ui->label_remoteNode->setText(node.toAddress());
ui->label_walletStatus->setText(this->statusToString(m_wallet->connectionStatus()));
QString websocketStatus = Utils::QtEnumToString(websocketNotifier()->websocketClient.webSocket.state()).remove("State");
QString websocketStatus = Utils::QtEnumToString(websocketNotifier()->websocketClient->webSocket->state()).remove("State");
if (config()->get(Config::disableWebsocket).toBool()) {
websocketStatus = "Disabled";
}