mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Formatting
This commit is contained in:
@@ -32,9 +32,9 @@ namespace BlackMisc
|
||||
//! Value object for a list of ATC stations.
|
||||
class BLACKMISC_EXPORT CAtcStationList :
|
||||
public CSequence<CAtcStation>,
|
||||
public BlackMisc::Aviation::ICallsignObjectList<CAtcStation, CAtcStationList>,
|
||||
public BlackMisc::Geo::IGeoObjectWithRelativePositionList<CAtcStation, CAtcStationList>,
|
||||
public BlackMisc::Mixin::MetaType<CAtcStationList>
|
||||
public Aviation::ICallsignObjectList<CAtcStation, CAtcStationList>,
|
||||
public Geo::IGeoObjectWithRelativePositionList<CAtcStation, CAtcStationList>,
|
||||
public Mixin::MetaType<CAtcStationList>
|
||||
{
|
||||
public:
|
||||
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CAtcStationList)
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace BlackMisc
|
||||
{
|
||||
CONTAINER r;
|
||||
if (suffix.isEmpty()) { return r; }
|
||||
QString sfxUpper(suffix.trimmed().toUpper());
|
||||
const QString sfxUpper(suffix.trimmed().toUpper());
|
||||
r = this->container().findBy([ = ](const OBJ & csObj)
|
||||
{
|
||||
return (csObj.getCallsign().getSuffix() == sfxUpper);
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace BlackMisc
|
||||
|
||||
CConnectionGuard::~CConnectionGuard()
|
||||
{
|
||||
disconnectAll();
|
||||
this->disconnectAll();
|
||||
}
|
||||
|
||||
int CConnectionGuard::disconnectAll()
|
||||
|
||||
Reference in New Issue
Block a user