diff options
author | Stéphane Lepin <stephane.lepin@gmail.com> | 2017-08-26 11:44:40 +0200 |
---|---|---|
committer | Stéphane Lepin <stephane.lepin@gmail.com> | 2017-08-26 11:44:40 +0200 |
commit | f0887c50a3e433ef7a0068185c170927e4b6af33 (patch) | |
tree | cecf895539dc118e82f60de5a03937e7038dcd74 /src/broadcast | |
parent | a0e7c446913a4a63699c985bac27d00306e3aa5e (diff) |
Show failed status if Live Broadcasting is on with no enabled connection
Diffstat (limited to 'src/broadcast')
-rw-r--r-- | src/broadcast/broadcastmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/broadcast/broadcastmanager.cpp b/src/broadcast/broadcastmanager.cpp index c1041d6743..f1864a46cf 100644 --- a/src/broadcast/broadcastmanager.cpp +++ b/src/broadcast/broadcastmanager.cpp @@ -202,7 +202,7 @@ void BroadcastManager::slotConnectionStatusChanged(int newState) { } // Changed global status indicator depending on global connections status - if (failedCount >= enabledCount) { + if (failedCount >= enabledCount || enabledCount < 1) { m_pStatusCO->forceSet(STATUSCO_FAILURE); } else if (failedCount > 0 && failedCount < enabledCount) { |