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