mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Ref T118, formatting
This commit is contained in:
@@ -38,7 +38,6 @@ namespace BlackGui
|
||||
namespace Menus { class CMenuActions; }
|
||||
namespace Models { class CAircraftModelListModel; }
|
||||
namespace Views { class CAircraftModelView; }
|
||||
|
||||
namespace Components
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -353,7 +353,7 @@ namespace BlackGui
|
||||
if (displayInfo)
|
||||
{
|
||||
const QString no = QString::number(this->getStashedModelsCount());
|
||||
CStatusMessage msg(validationCategories(), CStatusMessage::SeverityInfo, "Validation passed for " + no + " models");
|
||||
const CStatusMessage msg(validationCategories(), CStatusMessage::SeverityInfo, "Validation passed for " + no + " models");
|
||||
this->showOverlayMessage(msg);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,14 +88,14 @@ namespace BlackGui
|
||||
int CAircraftModelView::applyToSelected(const CLivery &livery)
|
||||
{
|
||||
if (!hasSelection()) { return 0; }
|
||||
int c = this->updateSelected(CVariant::from(livery), CAircraftModel::IndexLivery);
|
||||
const int c = this->updateSelected(CVariant::from(livery), CAircraftModel::IndexLivery);
|
||||
return c;
|
||||
}
|
||||
|
||||
int CAircraftModelView::applyToSelected(const CAircraftIcaoCode &icao)
|
||||
{
|
||||
if (!hasSelection()) { return 0; }
|
||||
int c = this->updateSelected(CVariant::from(icao), CAircraftModel::IndexAircraftIcaoCode);
|
||||
const int c = this->updateSelected(CVariant::from(icao), CAircraftModel::IndexAircraftIcaoCode);
|
||||
return c;
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace BlackGui
|
||||
int CAircraftModelView::applyToSelected(const CPropertyIndexVariantMap &vm)
|
||||
{
|
||||
if (!hasSelection()) { return 0; }
|
||||
int c = this->updateSelected(vm);
|
||||
const int c = this->updateSelected(vm);
|
||||
return c;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user