1
0
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:
elafargue 2011-06-07 17:15:16 +02:00
parent dbba0afe0d
commit 9b572407a7
4 changed files with 6 additions and 4 deletions

View File

@ -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();
} }
/** /**

View File

@ -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);
} }

View File

@ -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;

View File

@ -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