mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
OP-1628 Uncrustify
This commit is contained in:
parent
9a5dc36826
commit
87bd6243b4
@ -35,6 +35,7 @@ OPLinkWatchdog::OPLinkWatchdog() : QObject(),
|
||||
m_isConnected(false)
|
||||
{
|
||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||
|
||||
Q_ASSERT(pm);
|
||||
UAVObjectManager *objManager = pm->getObject<UAVObjectManager>();
|
||||
Q_ASSERT(objManager);
|
||||
@ -47,8 +48,7 @@ OPLinkWatchdog::OPLinkWatchdog() : QObject(),
|
||||
}
|
||||
|
||||
OPLinkWatchdog::~OPLinkWatchdog()
|
||||
{
|
||||
}
|
||||
{}
|
||||
|
||||
void OPLinkWatchdog::onOPLinkStatusUpdate()
|
||||
{
|
||||
|
@ -42,8 +42,14 @@ public:
|
||||
|
||||
OPLinkWatchdog();
|
||||
~OPLinkWatchdog();
|
||||
bool isConnected() const { return m_isConnected; }
|
||||
OPLinkWatchdog::OPLinkType opLinkType() const { return m_opLinkType; }
|
||||
bool isConnected() const
|
||||
{
|
||||
return m_isConnected;
|
||||
}
|
||||
OPLinkWatchdog::OPLinkType opLinkType() const
|
||||
{
|
||||
return m_opLinkType;
|
||||
}
|
||||
|
||||
signals:
|
||||
void connected();
|
||||
|
@ -232,6 +232,7 @@ void UploaderGadgetWidget::connectSignalSlot(QWidget *widget)
|
||||
FlightStatus *UploaderGadgetWidget::getFlightStatus()
|
||||
{
|
||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||
|
||||
Q_ASSERT(pm);
|
||||
UAVObjectManager *objManager = pm->getObject<UAVObjectManager>();
|
||||
Q_ASSERT(objManager);
|
||||
|
Loading…
x
Reference in New Issue
Block a user