add more debug prints
This commit is contained in:
parent
42eee3dcf5
commit
61c20e2001
@ -101,11 +101,13 @@ void CloudManager::setEnabled(bool enabled)
|
||||
return;
|
||||
}
|
||||
|
||||
qCDebug(dcCloud()) << "Enabling cloud connection.";
|
||||
m_enabled = true;
|
||||
if (!m_awsConnector->isConnected() && m_networkManager->state() == NetworkManager::NetworkManagerStateConnectedGlobal) {
|
||||
connect2aws();
|
||||
}
|
||||
} else {
|
||||
qCDebug(dcCloud()) << "Disabling cloud connection.";
|
||||
m_enabled = false;
|
||||
m_awsConnector->disconnectAWS();
|
||||
}
|
||||
|
||||
@ -442,10 +442,13 @@ void GuhCore::init() {
|
||||
m_serverManager = new ServerManager(m_configuration, this);
|
||||
|
||||
// Create the NetworkManager
|
||||
qCDebug(dcApplication) << "Creating Network Manager";
|
||||
m_networkManager = new NetworkManager(this);
|
||||
|
||||
qCDebug(dcApplication) << "Creating User Manager";
|
||||
m_userManager = new UserManager(this);
|
||||
|
||||
qCDebug(dcApplication) << "Creating Cloud Manager";
|
||||
m_cloudManager = new CloudManager(m_networkManager, this);
|
||||
m_cloudManager->setDeviceId(m_configuration->serverUuid());
|
||||
m_cloudManager->setDeviceName(m_configuration->serverName());
|
||||
|
||||
Reference in New Issue
Block a user