mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
COM audio did not tune in (voice room) if channel was already selected at startup
Reason was: hardcoded channel spacing to 8.33kHz As a result changed to channel spacing based on COM unit, which could also be changed at runtime * the issue itself was in own aircraft context * added functions for channel spacing * changed to COM unit channel spacing (instead of hardcoded spacing)
This commit is contained in:
@@ -79,7 +79,7 @@ namespace BlackGui
|
||||
static const QSize defaultSizeHidden(300, 150);
|
||||
|
||||
// keep old size
|
||||
QSize manuallySetSize = this->window()->size();
|
||||
const QSize manuallySetSize = this->window()->size();
|
||||
|
||||
// hide area
|
||||
ui->comp_CockpitInfoArea->setVisible(show);
|
||||
@@ -134,6 +134,11 @@ namespace BlackGui
|
||||
this->requestTextMessageEntryTab(TextMessagesCom2);
|
||||
}
|
||||
|
||||
void CCockpitComponent::onATCStationsChanged()
|
||||
{
|
||||
// void
|
||||
}
|
||||
|
||||
void CCockpitComponent::onToggleFloating(bool floating)
|
||||
{
|
||||
ui->wip_CockpitComPanelShowHideBar->setVisible(floating);
|
||||
|
||||
Reference in New Issue
Block a user