Ref T148, renamed/added hasConnectedSwiftDb / canConnectSwiftDb

This commit is contained in:
Klaus Basan
2017-09-04 15:32:25 +02:00
committed by Mathew Sutcliffe
parent a2e888546e
commit 961f47b700
5 changed files with 16 additions and 6 deletions

View File

@@ -83,7 +83,7 @@ namespace BlackGui
bool CDataInfoAreaComponent::writeDbDataToResourceDir() const
{
if (!sGui || !sGui->getWebDataServices()->canConnectSwiftDb())
if (!sGui || !sGui->getWebDataServices()->hasConnectedSwiftDb())
{
CLogMessage(this).warning("No connection to DB yet, no new data loaded which can be written");
return false;

View File

@@ -79,7 +79,7 @@ namespace BlackGui
const bool swift =
sGui &&
sGui->hasWebDataServices() &&
sGui->getWebDataServices()->canConnectSwiftDb();
sGui->getWebDataServices()->hasConnectedSwiftDb();
this->led_SwiftDb->setOn(swift);
bool allData = hasAllData();