Ref T167, in swift GUI

* removed isContextNetworkAvailableCheck / isContextAudioAvailableCheck
* replaced those by displayDBusReconnectDialog
* using a counter to ignore some errors before showing re-connect dialog
This commit is contained in:
Klaus Basan
2017-09-28 21:10:40 +02:00
committed by Mathew Sutcliffe
parent ed51d3c5dd
commit 8b1ef20146
3 changed files with 52 additions and 32 deletions

View File

@@ -34,7 +34,7 @@ using namespace BlackMisc::Audio;
bool SwiftGuiStd::ps_reloadOwnAircraft()
{
if (!this->isContextNetworkAvailableCheck()) { return false; }
if (!this->m_contextNetworkAvailable) { return false; }
// check for changed aircraft
bool changed = false;