fixed callsign and two models

This commit is contained in:
Klaus Basan
2014-04-26 15:55:16 +02:00
parent 9ccf005451
commit 172ea1d98e
3 changed files with 12 additions and 4 deletions

View File

@@ -35,6 +35,7 @@ namespace BlackGui
this->m_columns.clear();
switch (stationMode)
{
case NotSet:
case StationsOnline:
this->m_columns.addColumn(CColumn("callsign", CAtcStation::IndexCallsignAsStringAsSet));
this->m_columns.addColumn(CColumn("distance", CAtcStation::IndexDistance, Qt::AlignRight | Qt::AlignVCenter));
@@ -61,6 +62,10 @@ namespace BlackGui
this->setSortColumnByPropertyIndex(CAtcStation::IndexBookedFrom);
this->m_sortOrder = Qt::AscendingOrder;
break;
default:
qFatal("Wrong mode");
break;
}
}
}