mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
550b695350
commit
ceebcc3e1b
@@ -55,7 +55,7 @@ namespace BlackGui
|
||||
this->tabBar()->setUsesScrollButtons(true);
|
||||
ui->tvp_AirportsInRange->setResizeMode(CAirportView::ResizingOnce);
|
||||
ui->tvp_AircraftInRange->setAircraftMode(CSimulatedAircraftListModel::NetworkMode);
|
||||
ui->tvp_AircraftInRange->configureMenu(true, true, false, true, true);
|
||||
ui->tvp_AircraftInRange->configureMenu(true, true, false, true, true, true);
|
||||
|
||||
connect(ui->tvp_AircraftInRange, &CSimulatedAircraftView::modelDataChangedDigest, this, &CAircraftComponent::onRowCountChanged);
|
||||
connect(ui->tvp_AircraftInRange, &CSimulatedAircraftView::requestTextMessageWidget, this, &CAircraftComponent::requestTextMessageWidget);
|
||||
@@ -145,13 +145,13 @@ namespace BlackGui
|
||||
if (!myself) { return; }
|
||||
myself->update();
|
||||
});
|
||||
Q_UNUSED(index);
|
||||
Q_UNUSED(index)
|
||||
}
|
||||
|
||||
void CAircraftComponent::onRowCountChanged(int count, bool withFilter)
|
||||
{
|
||||
Q_UNUSED(count);
|
||||
Q_UNUSED(withFilter);
|
||||
Q_UNUSED(count)
|
||||
Q_UNUSED(withFilter)
|
||||
const int ac = this->indexOf(ui->tb_AircraftInRange);
|
||||
const int ap = this->indexOf(ui->tb_AirportsInRange);
|
||||
QString acs = this->tabBar()->tabText(ac);
|
||||
@@ -164,7 +164,7 @@ namespace BlackGui
|
||||
|
||||
void CAircraftComponent::onConnectionStatusChanged(const CConnectionStatus &from, const CConnectionStatus &to)
|
||||
{
|
||||
Q_UNUSED(from);
|
||||
Q_UNUSED(from)
|
||||
if (to.isDisconnected())
|
||||
{
|
||||
ui->tvp_AircraftInRange->clear();
|
||||
|
||||
Reference in New Issue
Block a user