Showing the changes to interface/src/ConnectionMonitor.cpp (1 of 1 file). Show all
Unified · Split
| @@ -13,10 +13,9 @@ · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | #include "ui/DialogsManager.h" |
| 15 | 15 | |
| 16 | −#include <NodeList.h> | |
| 17 | 16 | #include <DependencyManager.h> |
| 18 | 17 | #include <DomainHandler.h> |
| 19 | −#include <AddressManager.h> | |
| 18 | +#include <NodeList.h> | |
| 20 | 19 | |
| 21 | 20 | // Because the connection monitor is created at startup, the time we wait on initial load |
| 22 | 21 | // should be longer to allow the application to initialize. |
| @@ -31,6 +30,7 @@ void ConnectionMonitor::init() { · 8 unmodified lines | ||
| 31 | 30 | connect(&domainHandler, &DomainHandler::disconnectedFromDomain, this, &ConnectionMonitor::startTimer); |
| 32 | 31 | connect(&domainHandler, &DomainHandler::connectedToDomain, this, &ConnectionMonitor::stopTimer); |
| 33 | 32 | connect(&domainHandler, &DomainHandler::authRequired, this, &ConnectionMonitor::stopTimer); |
| 33 | + connect(&domainHandler, &DomainHandler::domainConnectionRefused, this, &ConnectionMonitor::stopTimer); | |
| 34 | 34 | |
| 35 | 35 | _timer.setSingleShot(true); |
| 36 | 36 | _timer.setInterval(ON_INITIAL_LOAD_DISPLAY_AFTER_DISCONNECTED_FOR_X_MS); |