mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Some minor fixes (typos, doxygen, etc.) found during #846
This commit is contained in:
committed by
Mathew Sutcliffe
parent
8341da2310
commit
1e85842c71
@@ -112,7 +112,6 @@ namespace BlackGui
|
||||
const auto currentAircraftParts = sGui->getIContextNetwork()->getRemoteAircraftParts(cs, -1).frontOrDefault();
|
||||
const auto aircraftPartsHistory = sGui->getIContextNetwork()->getAircraftPartsHistory(cs);
|
||||
|
||||
|
||||
QString html;
|
||||
if (currentAircraftParts == CAircraftParts() && aircraftPartsHistory.isEmpty())
|
||||
{
|
||||
|
||||
@@ -40,8 +40,8 @@ namespace BlackGui
|
||||
|
||||
void CRegisterComponent::ps_update()
|
||||
{
|
||||
if (!sGui) { return; }
|
||||
Q_ASSERT_X(sGui->supportsContexts(), Q_FUNC_INFO, "Application does not support contexts");
|
||||
// if not supported, do nothing
|
||||
if (!sGui || !sGui->supportsContexts()) { return; }
|
||||
ui->tvp_RegisteredComponents->updateContainer(sGui->getIContextApplication()->getRegisteredApplications());
|
||||
}
|
||||
} // ns
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace BlackGui
|
||||
explicit CRegisterComponent(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CRegisterComponent();
|
||||
virtual ~CRegisterComponent();
|
||||
|
||||
private slots:
|
||||
//! Update data
|
||||
|
||||
Reference in New Issue
Block a user