mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T362, style and minor fixes
This commit is contained in:
@@ -51,7 +51,7 @@ namespace BlackGui
|
||||
explicit CAircraftModelListModel(AircraftModelMode mode, QObject *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CAircraftModelListModel() {}
|
||||
virtual ~CAircraftModelListModel() override {}
|
||||
|
||||
//! Mode
|
||||
void setAircraftModelMode(CAircraftModelListModel::AircraftModelMode stationMode);
|
||||
|
||||
@@ -290,7 +290,10 @@ namespace BlackGui
|
||||
void CAircraftModelView::customMenu(CMenuActions &menuActions)
|
||||
{
|
||||
// Statistics
|
||||
menuActions.addAction(CIcons::appAircraft16(), "Model statistics", CMenuAction::pathModel(), { this, &CAircraftModelView::displayModelStatisticsDialog });
|
||||
if (!this->isEmpty())
|
||||
{
|
||||
menuActions.addAction(CIcons::appAircraft16(), "Model statistics", CMenuAction::pathModel(), { this, &CAircraftModelView::displayModelStatisticsDialog });
|
||||
}
|
||||
|
||||
// Stash menus
|
||||
bool addStashMenu = false;
|
||||
|
||||
Reference in New Issue
Block a user