Showing the changes to interface/src/ConnectionMonitor.cpp (1 of 11 files). Show all
Unified · Split
| @@ -48,7 +48,9 @@ void ConnectionMonitor::init() { · 47 unmodified lines | ||
| 48 | 48 | emit setRedirectErrorState(REDIRECT_HIFI_ADDRESS, "", 5); |
| 49 | 49 | } else { |
| 50 | 50 | qDebug() << "ConnectionMonitor: Showing connection failure window"; |
| 51 | +#if !defined(DISABLE_QML) | |
| 51 | 52 | DependencyManager::get<DialogsManager>()->setDomainConnectionFailureVisibility(true); |
| 53 | +#endif | |
| 52 | 54 | } |
| 53 | 55 | }); |
| 54 | 56 | } |
| @@ -59,8 +61,10 @@ void ConnectionMonitor::startTimer() { · 4 unmodified lines | ||
| 59 | 61 | |
| 60 | 62 | void ConnectionMonitor::stopTimer() { |
| 61 | 63 | _timer.stop(); |
| 64 | +#if !defined(DISABLE_QML) | |
| 62 | 65 | bool enableInterstitial = DependencyManager::get<NodeList>()->getDomainHandler().getInterstitialModeEnabled(); |
| 63 | 66 | if (!enableInterstitial) { |
| 64 | 67 | DependencyManager::get<DialogsManager>()->setDomainConnectionFailureVisibility(false); |
| 65 | 68 | } |
| 69 | +#endif | |
| 66 | 70 | } |