mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-21 09:08:41 +02:00
Settings: offline mode
This commit is contained in:
@@ -192,6 +192,10 @@ void Nodes::connectToNode(const FeatherNode &node) {
|
||||
if (!node.isValid())
|
||||
return;
|
||||
|
||||
if (config()->get(Config::offlineMode).toBool()) {
|
||||
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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user