mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +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) :
|
CIntroWindow::CIntroWindow(QWidget *parent) :
|
||||||
QDialog(parent, (Qt::WindowStaysOnTopHint)),
|
QDialog(parent, (Qt::WindowStaysOnTopHint)),
|
||||||
|
// (Qt::Tool | Qt::WindowStaysOnTopHint)),
|
||||||
ui(new Ui::CIntroWindow)
|
ui(new Ui::CIntroWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|||||||
@@ -388,11 +388,10 @@ namespace BlackCore
|
|||||||
CAtcStationList stations = this->getSelectedAtcStations();
|
CAtcStationList stations = this->getSelectedAtcStations();
|
||||||
Q_ASSERT(stations.size() == 2);
|
Q_ASSERT(stations.size() == 2);
|
||||||
CVoiceRoomList rooms;
|
CVoiceRoomList rooms;
|
||||||
rooms.push_back(stations[0].getVoiceRoom());
|
|
||||||
rooms.push_back(stations[1].getVoiceRoom());
|
|
||||||
|
|
||||||
CAtcStation s1 = stations[0];
|
CAtcStation s1 = stations[0];
|
||||||
CAtcStation s2 = stations[1];
|
CAtcStation s2 = stations[1];
|
||||||
|
rooms.push_back(s1.getVoiceRoom());
|
||||||
|
rooms.push_back(s2.getVoiceRoom());
|
||||||
|
|
||||||
// KB_REMOVE
|
// KB_REMOVE
|
||||||
qDebug() << this->ownAircraft().getCom1System().getFrequencyActive() << s1.getCallsign() << s1.getFrequency() << s1.getVoiceRoom().getVoiceRoomUrl();
|
qDebug() << this->ownAircraft().getCom1System().getFrequencyActive() << s1.getCallsign() << s1.getFrequency() << s1.getVoiceRoom().getVoiceRoomUrl();
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ namespace BlackMisc
|
|||||||
//! Add a value
|
//! Add a value
|
||||||
void addValue(int index, const QVariant &value);
|
void addValue(int index, const QVariant &value);
|
||||||
|
|
||||||
|
|
||||||
//! Add a value as non QVariant
|
//! Add a value as non QVariant
|
||||||
template<class T> void addValue(int index, const T &value) { this->m_values.insert(index, CVariant::fromValue(value)); }
|
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