mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Ref T148, renamed/added hasConnectedSwiftDb / canConnectSwiftDb
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a2e888546e
commit
961f47b700
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user