History

Update ConnectionMonitor to not show poopup on domain connection refusal

Ryan Huffman committed 10 years ago

Commit f3ef0ce1 parent e7023b31 file · +2 −2Browse files

Showing the changes to interface/src/ConnectionMonitor.cpp (1 of 1 file). Show all

Unified · Split

interface/src/ConnectionMonitor.cpp+2−2
@@ -13,10 +13,9 @@ · 12 unmodified lines
1313
1414 #include "ui/DialogsManager.h"
1515
16−#include <NodeList.h>
1716 #include <DependencyManager.h>
1817 #include <DomainHandler.h>
19−#include <AddressManager.h>
18+#include <NodeList.h>
2019
2120 // Because the connection monitor is created at startup, the time we wait on initial load
2221 // should be longer to allow the application to initialize.
@@ -31,6 +30,7 @@ void ConnectionMonitor::init() { · 8 unmodified lines
3130 connect(&domainHandler, &DomainHandler::disconnectedFromDomain, this, &ConnectionMonitor::startTimer);
3231 connect(&domainHandler, &DomainHandler::connectedToDomain, this, &ConnectionMonitor::stopTimer);
3332 connect(&domainHandler, &DomainHandler::authRequired, this, &ConnectionMonitor::stopTimer);
33+ connect(&domainHandler, &DomainHandler::domainConnectionRefused, this, &ConnectionMonitor::stopTimer);
3434
3535 _timer.setSingleShot(true);
3636 _timer.setInterval(ON_INITIAL_LOAD_DISPLAY_AFTER_DISCONNECTED_FOR_X_MS);