Minor tweaks,

* formatting
* Startup screen tool window removed (as requested by RW)
This commit is contained in:
Klaus Basan
2014-06-23 00:26:53 +02:00
parent 5da3f55886
commit 42d8c53290
3 changed files with 3 additions and 4 deletions

View File

@@ -388,11 +388,10 @@ namespace BlackCore
CAtcStationList stations = this->getSelectedAtcStations();
Q_ASSERT(stations.size() == 2);
CVoiceRoomList rooms;
rooms.push_back(stations[0].getVoiceRoom());
rooms.push_back(stations[1].getVoiceRoom());
CAtcStation s1 = stations[0];
CAtcStation s2 = stations[1];
rooms.push_back(s1.getVoiceRoom());
rooms.push_back(s2.getVoiceRoom());
// KB_REMOVE
qDebug() << this->ownAircraft().getCom1System().getFrequencyActive() << s1.getCallsign() << s1.getFrequency() << s1.getVoiceRoom().getVoiceRoomUrl();

View File

@@ -44,7 +44,6 @@ namespace BlackMisc
//! Add a value
void addValue(int index, const QVariant &value);
//! Add a value as non QVariant
template<class T> void addValue(int index, const T &value) { this->m_values.insert(index, CVariant::fromValue(value)); }