mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
refactor: Remove simulator logos
This commit is contained in:
@@ -168,19 +168,7 @@ namespace BlackMisc::Simulation
|
||||
|
||||
CIcons::IconIndex CSimulatorInfo::toIcon() const
|
||||
{
|
||||
if (this->isSingleSimulator())
|
||||
{
|
||||
switch (this->getSimulator())
|
||||
{
|
||||
case FSX: return CIcons::SimulatorFSX16;
|
||||
case FS9: return CIcons::SimulatorFS916;
|
||||
case P3D: return CIcons::SimulatorP3D16;
|
||||
case XPLANE: return CIcons::SimulatorXPlane16;
|
||||
case FG: return CIcons::SimulatorXPlane16;
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
return CValueObject::toIcon();
|
||||
return CIcons::StandardIconEmpty;
|
||||
}
|
||||
|
||||
CSimulatorInfo CSimulatorInfo::add(const CSimulatorInfo &other)
|
||||
|
||||
Reference in New Issue
Block a user