Ref T659, cleanup some unused code

This commit is contained in:
Klaus Basan
2019-08-05 10:19:54 +02:00
committed by Mat Sutcliffe
parent 03096f8f7e
commit 3b9f5bad46
3 changed files with 5 additions and 20 deletions

View File

@@ -101,8 +101,6 @@ namespace BlackGui
// Stored data
this->loadRememberedUserData();
// Remark: The validators affect the signals such as returnPressed, editingFinished
// So I use no ranges in the CUpperCaseValidators, as this disables the signals for invalid values
if (sGui && sGui->getIContextSimulator())
{
connect(sGui->getIContextSimulator(), &IContextSimulator::vitalityLost, this, &CLoginAdvComponent::autoLogoffDetection, Qt::QueuedConnection);
@@ -283,13 +281,6 @@ namespace BlackGui
return user;
}
// const bool changedOwnAircraftCallsignPilot = this->updateOwnAircraftCallsignAndPilotFromGuiValues();
// const bool changedOwnAircraftIcaoValues = this->updateOwnAircaftIcaoValuesFromGuiValues();
// if (changedOwnAircraftIcaoValues || changedOwnAircraftCallsignPilot)
// {
// m_changedLoginDataDigestSignal.inputSignal();
// }
void CLoginAdvComponent::setGuiLoginAsValues(const CSimulatedAircraft &ownAircraft)
{
const QString ac(