mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Minor tweaks,
* formatting * Startup screen tool window removed (as requested by RW)
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
*/
|
||||
CIntroWindow::CIntroWindow(QWidget *parent) :
|
||||
QDialog(parent, (Qt::WindowStaysOnTopHint)),
|
||||
// (Qt::Tool | Qt::WindowStaysOnTopHint)),
|
||||
ui(new Ui::CIntroWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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)); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user