mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Ref T506, style
This commit is contained in:
committed by
Mat Sutcliffe
parent
6a9bde5095
commit
eddaeddfc4
@@ -83,7 +83,7 @@ namespace BlackGui
|
||||
const bool hasContexts = sGui && sGui->supportsContexts();
|
||||
if (hasContexts)
|
||||
{
|
||||
CSimulatedAircraft aircraft(this->selectedObject());
|
||||
const CSimulatedAircraft aircraft(this->selectedObject());
|
||||
Q_ASSERT(!aircraft.getCallsign().isEmpty());
|
||||
menuActions.addMenuCom();
|
||||
menuActions.addAction(CIcons::appTextMessages16(), "Show text messages", CMenuAction::pathClientCom(), { this, &CSimulatedAircraftView::requestTextMessage });
|
||||
|
||||
@@ -859,7 +859,7 @@ namespace BlackGui
|
||||
template <class T>
|
||||
bool CViewBase<T>::filterDialogFinished(int status)
|
||||
{
|
||||
QDialog::DialogCode statusCode = static_cast<QDialog::DialogCode>(status);
|
||||
const QDialog::DialogCode statusCode = static_cast<QDialog::DialogCode>(status);
|
||||
return filterWidgetChangedFilter(statusCode == QDialog::Accepted);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user