mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
Small compilation warning fixed and small typos
This commit is contained in:
parent
dbba0afe0d
commit
9b572407a7
@ -219,8 +219,9 @@ void ConnectionManager::aboutToRemoveObject(QObject *obj)
|
|||||||
|
|
||||||
void ConnectionManager::onConnectionDestroyed(QObject *obj) // Pip
|
void ConnectionManager::onConnectionDestroyed(QObject *obj) // Pip
|
||||||
{
|
{
|
||||||
//onConnectionClosed(obj);
|
Q_UNUSED(obj)
|
||||||
disconnectDevice();
|
//onConnectionClosed(obj);
|
||||||
|
disconnectDevice();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -183,6 +183,7 @@ void CoreImpl::updateContext()
|
|||||||
|
|
||||||
void CoreImpl::openFiles(const QStringList &arguments)
|
void CoreImpl::openFiles(const QStringList &arguments)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(arguments)
|
||||||
//m_mainwindow->openFiles(arguments);
|
//m_mainwindow->openFiles(arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -177,8 +177,8 @@ private:
|
|||||||
QList<int> m_additionalContexts;
|
QList<int> m_additionalContexts;
|
||||||
QSettings *m_settings;
|
QSettings *m_settings;
|
||||||
QSettings *m_globalSettings;
|
QSettings *m_globalSettings;
|
||||||
bool m_dontSaveSettings; // In case of an Error or if we reset the settings, never save them.
|
|
||||||
SettingsDatabase *m_settingsDatabase;
|
SettingsDatabase *m_settingsDatabase;
|
||||||
|
bool m_dontSaveSettings; // In case of an Error or if we reset the settings, never save them.
|
||||||
ActionManagerPrivate *m_actionManager;
|
ActionManagerPrivate *m_actionManager;
|
||||||
MessageManager *m_messageManager;
|
MessageManager *m_messageManager;
|
||||||
VariableManager *m_variableManager;
|
VariableManager *m_variableManager;
|
||||||
|
@ -158,7 +158,7 @@ void UAVSettingsImportExportPlugin::importUAVSettings()
|
|||||||
if (obj == NULL) {
|
if (obj == NULL) {
|
||||||
// This object is unknown!
|
// This object is unknown!
|
||||||
qDebug() << "Object Unknown:" << uavObjectName << uavObjectID;
|
qDebug() << "Object Unknown:" << uavObjectName << uavObjectID;
|
||||||
swui.addLine(uavObjectName, "Error (object Unknown)", false);
|
swui.addLine(uavObjectName, "Error (object unknown)", false);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// - Update each field
|
// - Update each field
|
||||||
|
Loading…
Reference in New Issue
Block a user