From 52fef372baf4e5519473155c6d9637890375ce8e Mon Sep 17 00:00:00 2001 From: Ricardo de Almeida Gonzaga Date: Mon, 29 Aug 2016 14:46:27 -0300 Subject: [PATCH] Fix typos --- CodingStyle.cc | 2 +- CodingStyle.h | 2 +- QGCExternalLibs.pri | 2 +- .../usbserial/driver/ProlificSerialDriver.java | 6 +++--- .../org/qgroundcontrol/qgchelper/UsbDeviceJNI.java | 2 +- doc/Doxyfile | 2 +- resources/flightgear/Aircraft/EasyStar/easystar.xml | 2 +- resources/flightgear/Aircraft/EasyStar/readme.txt | 2 +- resources/flightgear/Aircraft/Rascal/README.Rascal | 2 +- .../flightgear/Aircraft/Rascal110/README.Rascal | 2 +- src/AutoPilotPlugins/APM/APMCameraComponent.qml | 2 +- src/AutoPilotPlugins/PX4/PX4AdvancedFlightModes.qml | 4 ++-- .../PX4/PX4AdvancedFlightModesController.cc | 8 ++++---- src/FactSystem/FactMetaData.h | 2 +- src/FactSystem/ParameterLoader.h | 2 +- src/FirmwarePlugin/APM/APMParameterMetaData.cc | 2 +- src/FirmwarePlugin/FirmwarePlugin.h | 2 +- src/FollowMe/FollowMe.cc | 4 ++-- src/LogCompressor.cc | 2 +- src/MissionEditor/SurveyItemEditor.qml | 2 +- src/MissionManager/MavCmdInfoCommon.json | 2 +- src/MissionManager/MissionManager.cc | 2 +- src/MissionManager/MissionManager.h | 2 +- src/MissionManager/SimpleMissionItem.cc | 4 ++-- src/MissionManager/VisualMissionItem.h | 2 +- src/PositionManager/SimulatedPosition.h | 2 +- src/QGCApplication.cc | 2 +- src/QGCMobileFileDialogController.h | 2 +- src/QGCQmlWidgetHolder.h | 2 +- src/QGCQuickWidget.cc | 2 +- src/QGCQuickWidget.h | 4 ++-- src/QmlControls/ScreenTools.qml | 4 ++-- src/VehicleSetup/FirmwareImage.cc | 4 ++-- src/VehicleSetup/FirmwareUpgrade.qml | 2 +- src/VehicleSetup/FirmwareUpgradeController.h | 2 +- src/VehicleSetup/PX4FirmwareUpgradeThread.cc | 2 +- src/VehicleSetup/PX4FirmwareUpgradeThread.h | 6 +++--- .../gstqtvideosink/gstqtglvideosink.cpp | 4 ++-- .../gstqtvideosink/gstqtquick2videosink.cpp | 4 ++-- src/VideoStreaming/gstqtvideosink/gstqtvideosink.cpp | 4 ++-- src/comm/LinkInterface.h | 6 +++--- src/comm/LogReplayLink.cc | 2 +- src/comm/QGCFlightGearLink.cc | 12 ++++++------ src/comm/QGCJSBSimLink.cc | 2 +- src/comm/SerialLink.cc | 2 +- src/input/Mouse6dofInput.cpp | 2 +- src/qgcunittest/FileManagerTest.cc | 4 ++-- src/uas/UAS.cc | 2 +- src/uas/UAS.h | 2 +- src/uas/UASInterface.h | 4 ++-- src/ui/MainWindow.cc | 2 +- src/ui/QGCDataPlot2D.cc | 2 +- src/ui/linechart/IncrementalPlot.cc | 2 +- src/ui/linechart/LinechartPlot.h | 4 ++-- src/ui/toolbar/MainToolBar.qml | 2 +- tools/osxrelocator.py | 2 +- tools/prepare_gstreamer_framework.sh | 2 +- 57 files changed, 83 insertions(+), 83 deletions(-) diff --git a/CodingStyle.cc b/CodingStyle.cc index 9c5d7527a..5eb53a422 100644 --- a/CodingStyle.cc +++ b/CodingStyle.cc @@ -20,7 +20,7 @@ #include -// Note how the Qt headers and the QGroundControl headers above are kept seperate +// Note how the Qt headers and the QGroundControl headers above are kept separate Q_LOGGING_CATEGORY(CodingStyleLog, "CodingStyleLog") diff --git a/CodingStyle.h b/CodingStyle.h index 49ce95812..362698106 100644 --- a/CodingStyle.h +++ b/CodingStyle.h @@ -25,7 +25,7 @@ #include "Fact.h" #include "UASInterface.h" -// Note how the Qt headers, System, headers and the QGroundControl headers above are kept in seperate groups +// Note how the Qt headers, System, headers and the QGroundControl headers above are kept in separate groups // If you are going to use a logging category for a class it should have the same name as the class // with a suffix of Log. diff --git a/QGCExternalLibs.pri b/QGCExternalLibs.pri index 6524583b7..9e746de95 100644 --- a/QGCExternalLibs.pri +++ b/QGCExternalLibs.pri @@ -9,7 +9,7 @@ WindowsBuild { # [REQUIRED] Add support for the MAVLink communications protocol. # Mavlink dialect is hardwired to arudpilotmega for now. The reason being # the current codebase supports both PX4 and APM flight stack. PX4 flight stack -# only usese common mavlink specifications, wherease APM flight stack uses custom +# only usese common mavlink specifications, whereas APM flight stack uses custom # mavlink specifications which add to common. So by using the adupilotmega dialect # QGC can support both in the same codebase. # diff --git a/android/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java b/android/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java index d6e2d1338..7c4c0a7f3 100644 --- a/android/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java +++ b/android/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java @@ -217,7 +217,7 @@ public class ProlificSerialDriver extends CommonUsbSerialDriver { } } - /* throw and clear an exception which occured in the status read thread */ + /* throw and clear an exception which occurred in the status read thread */ IOException readStatusException = mReadStatusException; if (mReadStatusException != null) { mReadStatusException = null; @@ -288,7 +288,7 @@ public class ProlificSerialDriver extends CommonUsbSerialDriver { + "available! Assuming that it is a HX device"); mDeviceType = DEVICE_TYPE_HX; } catch (Exception e) { - Log.e(TAG, "An unexpected exception occured while trying " + Log.e(TAG, "An unexpected exception occurred while trying " + "to detect PL2303 subtype", e); } } @@ -318,7 +318,7 @@ public class ProlificSerialDriver extends CommonUsbSerialDriver { try { mReadStatusThread.join(); } catch (Exception e) { - Log.w(TAG, "An error occured while waiting for status read thread", e); + Log.w(TAG, "An error occurred while waiting for status read thread", e); } } } diff --git a/android/src/org/qgroundcontrol/qgchelper/UsbDeviceJNI.java b/android/src/org/qgroundcontrol/qgchelper/UsbDeviceJNI.java index b3157061d..6520ebb6b 100644 --- a/android/src/org/qgroundcontrol/qgchelper/UsbDeviceJNI.java +++ b/android/src/org/qgroundcontrol/qgchelper/UsbDeviceJNI.java @@ -347,7 +347,7 @@ public class UsbDeviceJNI extends QtActivity implements TextToSpeech.OnInitListe Log.e(TAG, "UsbIoManager instance is null"); m_ioManager.put(idL, managerL); m_Executor.submit(managerL); - Log.i(TAG, "Port open successfull"); + Log.i(TAG, "Port open successful"); return idL; } } diff --git a/doc/Doxyfile b/doc/Doxyfile index 344f84a98..c37739f04 100644 --- a/doc/Doxyfile +++ b/doc/Doxyfile @@ -281,7 +281,7 @@ TYPEDEF_HIDES_STRUCT = NO # causing a significant performance penality. # If the system has enough physical memory increasing the cache will improve the # performance by keeping more symbols in memory. Note that the value works on -# a logarithmic scale so increasing the size by one will rougly double the +# a logarithmic scale so increasing the size by one will roughly double the # memory usage. The cache size is given by this formula: # 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, # corresponding to a cache size of 2^16 = 65536 symbols diff --git a/resources/flightgear/Aircraft/EasyStar/easystar.xml b/resources/flightgear/Aircraft/EasyStar/easystar.xml index 742c6cb63..2d0090e73 100644 --- a/resources/flightgear/Aircraft/EasyStar/easystar.xml +++ b/resources/flightgear/Aircraft/EasyStar/easystar.xml @@ -7,7 +7,7 @@ Ron Jensen Aeromatic v 0.91 2010-03-28 - $Revison: $ + $Revision: $ Models a EasyStar. diff --git a/resources/flightgear/Aircraft/EasyStar/readme.txt b/resources/flightgear/Aircraft/EasyStar/readme.txt index ce0b8d625..886a41c04 100644 --- a/resources/flightgear/Aircraft/EasyStar/readme.txt +++ b/resources/flightgear/Aircraft/EasyStar/readme.txt @@ -1,4 +1,4 @@ -Origional readme: +Original readme: ************************************************************************ * MULTIPLEX Modellsport GmbH & Co. KG * * Neuer Weg 2, D-75223 Niefern, Germany * diff --git a/resources/flightgear/Aircraft/Rascal/README.Rascal b/resources/flightgear/Aircraft/Rascal/README.Rascal index 53559bf73..856ef405c 100644 --- a/resources/flightgear/Aircraft/Rascal/README.Rascal +++ b/resources/flightgear/Aircraft/Rascal/README.Rascal @@ -127,7 +127,7 @@ tires. rudder which is connected to a steerable tail wheel. Use brakes only for positive, precision ground control when necessary. -(3) Taxi upwind with stick back; downwind with stick foreward. When +(3) Taxi upwind with stick back; downwind with stick forward. When ground winds are in excess of 15 M.P.H., turn into wind using ailerons in direction of turn; apply ailerons away from the turn when turning downwind. This procedure helps to prevent the wind "picking up" a diff --git a/resources/flightgear/Aircraft/Rascal110/README.Rascal b/resources/flightgear/Aircraft/Rascal110/README.Rascal index 53559bf73..856ef405c 100644 --- a/resources/flightgear/Aircraft/Rascal110/README.Rascal +++ b/resources/flightgear/Aircraft/Rascal110/README.Rascal @@ -127,7 +127,7 @@ tires. rudder which is connected to a steerable tail wheel. Use brakes only for positive, precision ground control when necessary. -(3) Taxi upwind with stick back; downwind with stick foreward. When +(3) Taxi upwind with stick back; downwind with stick forward. When ground winds are in excess of 15 M.P.H., turn into wind using ailerons in direction of turn; apply ailerons away from the turn when turning downwind. This procedure helps to prevent the wind "picking up" a diff --git a/src/AutoPilotPlugins/APM/APMCameraComponent.qml b/src/AutoPilotPlugins/APM/APMCameraComponent.qml index 313786ced..1e7699f47 100644 --- a/src/AutoPilotPlugins/APM/APMCameraComponent.qml +++ b/src/AutoPilotPlugins/APM/APMCameraComponent.qml @@ -144,7 +144,7 @@ QGCView { Connections { target: _rc13Function; onValueChanged: calcGimbalOutValues() } Connections { target: _rc14Function; onValueChanged: calcGimbalOutValues() } - // Whenever an MNT_RC_IN_* setting is changed make sure to turn on RC targetting + // Whenever an MNT_RC_IN_* setting is changed make sure to turn on RC targeting Connections { target: _mountRCInPan onValueChanged: _mountDefaultMode.value = _mountDefaultModeRCTargetting diff --git a/src/AutoPilotPlugins/PX4/PX4AdvancedFlightModes.qml b/src/AutoPilotPlugins/PX4/PX4AdvancedFlightModes.qml index fc75d7fcd..e5d4884e0 100644 --- a/src/AutoPilotPlugins/PX4/PX4AdvancedFlightModes.qml +++ b/src/AutoPilotPlugins/PX4/PX4AdvancedFlightModes.qml @@ -51,11 +51,11 @@ Item { qsTr("The Main mode switch must always be assigned to a channel in order to fly") readonly property string assistModeName: qsTr("Assist") - readonly property string assistModeDescription: qsTr("If Position Control is placed on a seperate channel from the Main mode channel, an additional 'Assist' mode is added to the Main switch. ") + + readonly property string assistModeDescription: qsTr("If Position Control is placed on a separate channel from the Main mode channel, an additional 'Assist' mode is added to the Main switch. ") + qsTr("In order for the Attitude Control/Position Control switch to be active, the Main switch must be in Assist mode.") readonly property string autoModeName: qsTr("Auto") - readonly property string autoModeDescription: qsTr("If Loiter is placed on a seperate channel from the Main mode channel, an additional 'Auto' mode is added to the Main switch. ") + + readonly property string autoModeDescription: qsTr("If Loiter is placed on a separate channel from the Main mode channel, an additional 'Auto' mode is added to the Main switch. ") + qsTr("In order for the Mission/Loiter switch to be active, the Main switch must be in Auto mode.") readonly property string fwAcroModeName: qsTr("Stabilized") diff --git a/src/AutoPilotPlugins/PX4/PX4AdvancedFlightModesController.cc b/src/AutoPilotPlugins/PX4/PX4AdvancedFlightModesController.cc index 2d7fc378a..e8044064e 100644 --- a/src/AutoPilotPlugins/PX4/PX4AdvancedFlightModesController.cc +++ b/src/AutoPilotPlugins/PX4/PX4AdvancedFlightModesController.cc @@ -88,7 +88,7 @@ void PX4AdvancedFlightModesController::_init(void) // PosCtl disabled so AltCtl must move back to main Mode switch _assistModeVisible = false; } else { - // Assist mode is visible if AltCtl/PosCtl are on seperate channel from main Mode switch + // Assist mode is visible if AltCtl/PosCtl are on separate channel from main Mode switch _assistModeVisible = posCtlChannel != modeChannel; } @@ -96,7 +96,7 @@ void PX4AdvancedFlightModesController::_init(void) // Loiter disabled so Mission must move back to main Mode switch _autoModeVisible = false; } else { - // Auto mode is visible if Mission/Loiter are on seperate channel from main Mode switch + // Auto mode is visible if Mission/Loiter are on separate channel from main Mode switch _autoModeVisible = loiterChannel != modeChannel; } @@ -662,7 +662,7 @@ void PX4AdvancedFlightModesController::setPosCtlModeChannelIndex(int index) // PosCtl disabled so AltCtl must move back to main Mode switch _assistModeVisible = false; } else { - // Assist mode is visible if AltCtl/PosCtl are on seperate channel from main Mode switch + // Assist mode is visible if AltCtl/PosCtl are on separate channel from main Mode switch _assistModeVisible = channel != getParameterFact(-1, "RC_MAP_MODE_SW")->rawValue().toInt(); } @@ -684,7 +684,7 @@ void PX4AdvancedFlightModesController::setLoiterModeChannelIndex(int index) // Loiter disabled so Mission must move back to main Mode switch _autoModeVisible = false; } else { - // Auto mode is visible if Mission/Loiter are on seperate channel from main Mode switch + // Auto mode is visible if Mission/Loiter are on separate channel from main Mode switch _autoModeVisible = channel != getParameterFact(-1, "RC_MAP_MODE_SW")->rawValue().toInt(); } diff --git a/src/FactSystem/FactMetaData.h b/src/FactSystem/FactMetaData.h index e6eb2c509..37b54825e 100644 --- a/src/FactSystem/FactMetaData.h +++ b/src/FactSystem/FactMetaData.h @@ -21,7 +21,7 @@ /// Holds the meta data associated with a Fact. /// -/// Holds the meta data associated with a Fact. This is kept in a seperate object from the Fact itself +/// Holds the meta data associated with a Fact. This is kept in a separate object from the Fact itself /// since you may have multiple instances of the same Fact. But there is only ever one FactMetaData /// instance or each Fact. class FactMetaData : public QObject diff --git a/src/FactSystem/ParameterLoader.h b/src/FactSystem/ParameterLoader.h index 944f5920a..515181e62 100644 --- a/src/FactSystem/ParameterLoader.h +++ b/src/FactSystem/ParameterLoader.h @@ -142,7 +142,7 @@ private: QMap > _mapGroup2ParameterName; bool _parametersReady; ///< true: full set of parameters correctly loaded - bool _initialLoadComplete; ///< true: Initial load of all parameters complete, whether succesful or not + bool _initialLoadComplete; ///< true: Initial load of all parameters complete, whether successful or not bool _waitingForDefaultComponent; ///< true: last chance wait for default component params bool _saveRequired; ///< true: _saveToEEPROM should be called int _defaultComponentId; diff --git a/src/FirmwarePlugin/APM/APMParameterMetaData.cc b/src/FirmwarePlugin/APM/APMParameterMetaData.cc index 96f32dd2f..30032c2f2 100644 --- a/src/FirmwarePlugin/APM/APMParameterMetaData.cc +++ b/src/FirmwarePlugin/APM/APMParameterMetaData.cc @@ -312,7 +312,7 @@ bool APMParameterMetaData::parseParameterAttributes(QXmlStreamReader& xml, APMFa // as long as param doens't end while (!(elementName == "param" && xml.isEndElement())) { if (elementName.isEmpty()) { - // skip empty elements. Somehow I am getting lot of these. Dont know what to do with them. + // skip empty elements. Somehow I am getting lot of these. Don't know what to do with them. } else if (elementName == "field") { QString attributeName = xml.attributes().value("name").toString(); diff --git a/src/FirmwarePlugin/FirmwarePlugin.h b/src/FirmwarePlugin/FirmwarePlugin.h index 4e1159e14..0c7625032 100644 --- a/src/FirmwarePlugin/FirmwarePlugin.h +++ b/src/FirmwarePlugin/FirmwarePlugin.h @@ -181,7 +181,7 @@ public: virtual QString internalParameterMetaDataFile(void) { return QString(); } /// Loads the specified parameter meta data file. - /// @return Opaque parameter meta data information which must be stored with Vehicle. Vehicle is reponsible to + /// @return Opaque parameter meta data information which must be stored with Vehicle. Vehicle is responsible to /// call deleteParameterMetaData when no longer needed. virtual QObject* loadParameterMetaData(const QString& metaDataFile) { Q_UNUSED(metaDataFile); return NULL; } diff --git a/src/FollowMe/FollowMe.cc b/src/FollowMe/FollowMe.cc index 2c4a3d151..f5bcb4533 100644 --- a/src/FollowMe/FollowMe.cc +++ b/src/FollowMe/FollowMe.cc @@ -92,13 +92,13 @@ void FollowMe::_setGPSLocation(QGeoPositionInfo geoPositionInfo) _motionReport.pos_std_dev[2] = geoPositionInfo.attribute(QGeoPositionInfo::VerticalAccuracy); } - // calculate z velocity if it's availible + // calculate z velocity if it's available if(geoPositionInfo.hasAttribute(QGeoPositionInfo::VerticalSpeed)) { _motionReport.vz = geoPositionInfo.attribute(QGeoPositionInfo::VerticalSpeed); } - // calculate x,y velocity if it's availible + // calculate x,y velocity if it's available if((geoPositionInfo.hasAttribute(QGeoPositionInfo::Direction) == true) && (geoPositionInfo.hasAttribute(QGeoPositionInfo::GroundSpeed) == true)) { diff --git a/src/LogCompressor.cc b/src/LogCompressor.cc index 7e4099084..ed923f21e 100644 --- a/src/LogCompressor.cc +++ b/src/LogCompressor.cc @@ -70,7 +70,7 @@ void LogCompressor::run() // First we search the input file through keySearchLimit number of lines - // looking for variables. This is neccessary before CSV files require + // looking for variables. This is necessary before CSV files require // the same number of fields for every line. const unsigned int keySearchLimit = 15000; unsigned int keyCounter = 0; diff --git a/src/MissionEditor/SurveyItemEditor.qml b/src/MissionEditor/SurveyItemEditor.qml index 55d57223a..f8beda4c2 100644 --- a/src/MissionEditor/SurveyItemEditor.qml +++ b/src/MissionEditor/SurveyItemEditor.qml @@ -16,7 +16,7 @@ Rectangle { color: qgcPal.windowShadeDark radius: _radius - // The following properties must be available up the hierachy chain + // The following properties must be available up the hierarchy chain //property real availableWidth ///< Width for control //property var missionItem ///< Mission Item for editor diff --git a/src/MissionManager/MavCmdInfoCommon.json b/src/MissionManager/MavCmdInfoCommon.json index cfcb346de..81cf9f6a1 100644 --- a/src/MissionManager/MavCmdInfoCommon.json +++ b/src/MissionManager/MavCmdInfoCommon.json @@ -768,7 +768,7 @@ "label": "Mode:", "default": 0, "decimalPlaces": 0, - "enumStrings": "Retract,Neutral,Mavlink Targetting,RC Targetting,GPS Point", + "enumStrings": "Retract,Neutral,Mavlink Targeting,RC Targeting,GPS Point", "enumValues": "0,1,2,3,4" }, "param2": { diff --git a/src/MissionManager/MissionManager.cc b/src/MissionManager/MissionManager.cc index e7b09d4de..05ebd3e31 100644 --- a/src/MissionManager/MissionManager.cc +++ b/src/MissionManager/MissionManager.cc @@ -165,7 +165,7 @@ void MissionManager::_ackTimeout(void) if (timedOutAck == AckNone) { qCWarning(MissionManagerLog) << "_ackTimeout timeout with AckNone"; - _sendError(InternalError, "Internal error occured during Mission Item communication: _ackTimeOut:_retryAck == AckNone"); + _sendError(InternalError, "Internal error occurred during Mission Item communication: _ackTimeOut:_retryAck == AckNone"); return; } diff --git a/src/MissionManager/MissionManager.h b/src/MissionManager/MissionManager.h index 8e6146ed0..f3661e1af 100644 --- a/src/MissionManager/MissionManager.h +++ b/src/MissionManager/MissionManager.h @@ -82,7 +82,7 @@ private: AckMissionCount, ///< MISSION_COUNT message expected AckMissionItem, ///< MISSION_ITEM expected AckMissionRequest, ///< MISSION_REQUEST is expected, or MISSION_ACK to end sequence - AckGuidedItem, ///< MISSION_ACK expected in reponse to ArduPilot guided mode single item send + AckGuidedItem, ///< MISSION_ACK expected in response to ArduPilot guided mode single item send } AckType_t; void _startAckTimeout(AckType_t ack); diff --git a/src/MissionManager/SimpleMissionItem.cc b/src/MissionManager/SimpleMissionItem.cc index 66d602b50..6f7cf029f 100644 --- a/src/MissionManager/SimpleMissionItem.cc +++ b/src/MissionManager/SimpleMissionItem.cc @@ -152,7 +152,7 @@ void SimpleMissionItem::_connectSignals(void) connect(&_missionItem._commandFact, &Fact::valueChanged, this, &SimpleMissionItem::_setDirtyFromSignal); connect(&_missionItem, &MissionItem::sequenceNumberChanged, this, &SimpleMissionItem::_setDirtyFromSignal); - // Values from these facts must propogate back and forth between the real object storage + // Values from these facts must propagate back and forth between the real object storage connect(&_altitudeRelativeToHomeFact, &Fact::valueChanged, this, &SimpleMissionItem::_syncAltitudeRelativeToHomeToFrame); connect(&_missionItem._frameFact, &Fact::valueChanged, this, &SimpleMissionItem::_syncFrameToAltitudeRelativeToHome); @@ -182,7 +182,7 @@ void SimpleMissionItem::_connectSignals(void) connect(&_missionItem._commandFact, &Fact::valueChanged, this, &SimpleMissionItem::_sendCommandChanged); connect(&_missionItem._frameFact, &Fact::valueChanged, this, &SimpleMissionItem::_sendFrameChanged); - // Sequence number is kept in mission iteem, so we need to propogate signal up as well + // Sequence number is kept in mission iteem, so we need to propagate signal up as well connect(&_missionItem, &MissionItem::sequenceNumberChanged, this, &SimpleMissionItem::sequenceNumberChanged); } diff --git a/src/MissionManager/VisualMissionItem.h b/src/MissionManager/VisualMissionItem.h index e5f58a5ee..6e1fa8daf 100644 --- a/src/MissionManager/VisualMissionItem.h +++ b/src/MissionManager/VisualMissionItem.h @@ -40,7 +40,7 @@ public: const VisualMissionItem& operator=(const VisualMissionItem& other); - // The following properties are calulated/set by the MissionControll recalc methods + // The following properties are calculated/set by the MissionControll recalc methods Q_PROPERTY(double altDifference READ altDifference WRITE setAltDifference NOTIFY altDifferenceChanged) ///< Change in altitude from previous waypoint Q_PROPERTY(double altPercent READ altPercent WRITE setAltPercent NOTIFY altPercentChanged) ///< Percent of total altitude change in mission altitude diff --git a/src/PositionManager/SimulatedPosition.h b/src/PositionManager/SimulatedPosition.h index 5e82229f8..ebd36657e 100644 --- a/src/PositionManager/SimulatedPosition.h +++ b/src/PositionManager/SimulatedPosition.h @@ -41,7 +41,7 @@ private: QGeoPositionInfo lastPosition; - // items for simulating QGC movment in jMAVSIM + // items for simulating QGC movement in jMAVSIM int32_t lat_int; int32_t lon_int; diff --git a/src/QGCApplication.cc b/src/QGCApplication.cc index 90a376aeb..98ef42261 100644 --- a/src/QGCApplication.cc +++ b/src/QGCApplication.cc @@ -206,7 +206,7 @@ QGCApplication::QGCApplication(int &argc, char* argv[], bool unitTesting) if (!_runningUnitTests) { if (getuid() == 0) { QMessageBox msgBox; - msgBox.setInformativeText("You are runnning QGroundControl as root. " + msgBox.setInformativeText("You are running QGroundControl as root. " "You should not do this since it will cause other issues with QGroundControl. " "QGroundControl will now exit. " "If you are having serial port issues on Ubuntu, execute the following commands to fix most issues:\n" diff --git a/src/QGCMobileFileDialogController.h b/src/QGCMobileFileDialogController.h index 9507a175c..602d84e65 100644 --- a/src/QGCMobileFileDialogController.h +++ b/src/QGCMobileFileDialogController.h @@ -30,7 +30,7 @@ public: /// @param fileExtension Expected file extension, added if needed Q_INVOKABLE QString fullPath(const QString& filename, const QString& fileExtension); - /// Check for file existance + /// Check for file existence /// @param filename File name, not fully qualified, may not have extension /// @param fileExtension Expected file extension, added if needed /// @return true: File exists at Documents location diff --git a/src/QGCQmlWidgetHolder.h b/src/QGCQmlWidgetHolder.h index b3e57329a..fc2b1838d 100644 --- a/src/QGCQmlWidgetHolder.h +++ b/src/QGCQmlWidgetHolder.h @@ -50,7 +50,7 @@ public: QQmlEngine* getEngine(); /// Sets the QML into the control. Will display errors message box if error occurs loading source. - /// @return true: source loaded, false: source not loaded, errors occured + /// @return true: source loaded, false: source not loaded, errors occurred bool setSource(const QUrl& qmlUrl); void setContextPropertyObject(const QString& name, QObject* object); diff --git a/src/QGCQuickWidget.cc b/src/QGCQuickWidget.cc index 8f5b9f5f9..a3628bc6d 100644 --- a/src/QGCQuickWidget.cc +++ b/src/QGCQuickWidget.cc @@ -18,7 +18,7 @@ #include /// @file -/// @brief Subclass of QQuickWidget which injects Facts and the Pallete object into +/// @brief Subclass of QQuickWidget which injects Facts and the Palette object into /// the QML context. /// /// @author Don Gagne diff --git a/src/QGCQuickWidget.h b/src/QGCQuickWidget.h index 5cc8dcc8d..6b4730927 100644 --- a/src/QGCQuickWidget.h +++ b/src/QGCQuickWidget.h @@ -16,7 +16,7 @@ #include "AutoPilotPlugin.h" /// @file -/// @brief Subclass of QQuickWidget which injects Facts and the Pallete object into +/// @brief Subclass of QQuickWidget which injects Facts and the Palette object into /// the QML context. /// /// @author Don Gagne @@ -31,7 +31,7 @@ public: void setAutoPilot(AutoPilotPlugin* autoPilot); /// Sets the QML into the control. Will display errors message box if error occurs loading source. - /// @return true: source loaded, false: source not loaded, errors occured + /// @return true: source loaded, false: source not loaded, errors occurred bool setSource(const QUrl& qmlUrl); }; diff --git a/src/QmlControls/ScreenTools.qml b/src/QmlControls/ScreenTools.qml index 345cc40ae..a39be4d57 100644 --- a/src/QmlControls/ScreenTools.qml +++ b/src/QmlControls/ScreenTools.qml @@ -32,12 +32,12 @@ Item { property real defaultFontPointSize: 10 - /// You can use this property to position ui elements in a screen resolution independant manner. Using fixed positioning values should not + /// You can use this property to position ui elements in a screen resolution independent manner. Using fixed positioning values should not /// be done. All positioning should be done using anchors or a ratio of the defaultFontPixelHeight and defaultFontPixelWidth values. This way /// your ui elements will reposition themselves appropriately on varying screen sizes and resolutions. property real defaultFontPixelHeight: 10 - /// You can use this property to position ui elements in a screen resolution independant manner. Using fixed positioning values should not + /// You can use this property to position ui elements in a screen resolution independent manner. Using fixed positioning values should not /// be done. All positioning should be done using anchors or a ratio of the defaultFontPixelHeight and defaultFontPixelWidth values. This way /// your ui elements will reposition themselves appropriately on varying screen sizes and resolutions. property real defaultFontPixelWidth: 10 diff --git a/src/VehicleSetup/FirmwareImage.cc b/src/VehicleSetup/FirmwareImage.cc index 4b5562719..cce005b73 100644 --- a/src/VehicleSetup/FirmwareImage.cc +++ b/src/VehicleSetup/FirmwareImage.cc @@ -198,7 +198,7 @@ bool FirmwareImage::_px4Load(const QString& imageFilename) { _imageSize = 0; - // We need to collect information from the .px4 file as well as pull the binary image out to a seperate file. + // We need to collect information from the .px4 file as well as pull the binary image out to a separate file. QFile px4File(imageFilename); if (!px4File.open(QIODevice::ReadOnly | QIODevice::Text)) { @@ -400,7 +400,7 @@ bool FirmwareImage::_decompressJsonValue(const QJsonObject& jsonObject, ///< J return false; } - emit statusMessage(QString("Succesfully decompressed %1").arg(bytesKey)); + emit statusMessage(QString("Successfully decompressed %1").arg(bytesKey)); return true; } diff --git a/src/VehicleSetup/FirmwareUpgrade.qml b/src/VehicleSetup/FirmwareUpgrade.qml index a89c9e5ed..55df89348 100644 --- a/src/VehicleSetup/FirmwareUpgrade.qml +++ b/src/VehicleSetup/FirmwareUpgrade.qml @@ -312,7 +312,7 @@ QGCView { qsTr("This firmware has NOT BEEN FLIGHT TESTED. ") + qsTr("It is only intended for DEVELOPERS. ") + qsTr("Run bench tests without props first. ") + - qsTr("Do NOT fly this without additonal safety precautions. ") + + qsTr("Do NOT fly this without additional safety precautions. ") + qsTr("Follow the mailing list actively when using it.") } else { firmwareVersionWarningLabel.visible = false diff --git a/src/VehicleSetup/FirmwareUpgradeController.h b/src/VehicleSetup/FirmwareUpgradeController.h index ea344a351..cd093fd2f 100644 --- a/src/VehicleSetup/FirmwareUpgradeController.h +++ b/src/VehicleSetup/FirmwareUpgradeController.h @@ -218,7 +218,7 @@ private: QNetworkAccessManager* _downloadManager; ///< Used for firmware file downloading across the internet QNetworkReply* _downloadNetworkReply; ///< Used for firmware file downloading across the internet - /// @brief Thread controller which is used to run bootloader commands on seperate thread + /// @brief Thread controller which is used to run bootloader commands on separate thread PX4FirmwareUpgradeThreadController* _threadController; static const int _eraseTickMsec = 500; ///< Progress bar update tick time for erase diff --git a/src/VehicleSetup/PX4FirmwareUpgradeThread.cc b/src/VehicleSetup/PX4FirmwareUpgradeThread.cc index 56c4d2eaf..532ca38df 100644 --- a/src/VehicleSetup/PX4FirmwareUpgradeThread.cc +++ b/src/VehicleSetup/PX4FirmwareUpgradeThread.cc @@ -9,7 +9,7 @@ /// @file -/// @brief PX4 Firmware Upgrade operations which occur on a seperate thread. +/// @brief PX4 Firmware Upgrade operations which occur on a separate thread. /// @author Don Gagne #include "PX4FirmwareUpgradeThread.h" diff --git a/src/VehicleSetup/PX4FirmwareUpgradeThread.h b/src/VehicleSetup/PX4FirmwareUpgradeThread.h index cf75f1ab1..cff613019 100644 --- a/src/VehicleSetup/PX4FirmwareUpgradeThread.h +++ b/src/VehicleSetup/PX4FirmwareUpgradeThread.h @@ -9,7 +9,7 @@ /// @file -/// @brief PX4 Firmware Upgrade operations which occur on a seperate thread. +/// @brief PX4 Firmware Upgrade operations which occur on a separate thread. /// @author Don Gagne #ifndef PX4FirmwareUpgradeThread_H @@ -30,7 +30,7 @@ class PX4FirmwareUpgradeThreadController; -/// @brief Used to run bootloader commands on a seperate thread. These routines are mainly meant to to be called +/// @brief Used to run bootloader commands on a separate thread. These routines are mainly meant to to be called /// internally by the PX4FirmwareUpgradeThreadController. Clients should call the various public methods /// exposed by PX4FirmwareUpgradeThreadController. class PX4FirmwareUpgradeThreadWorker : public QObject @@ -83,7 +83,7 @@ private: }; /// @brief Provides methods to interact with the bootloader. The commands themselves are signalled -/// across to PX4FirmwareUpgradeThreadWorker so that they run on the seperate thread. +/// across to PX4FirmwareUpgradeThreadWorker so that they run on the separate thread. class PX4FirmwareUpgradeThreadController : public QObject { Q_OBJECT diff --git a/src/VideoStreaming/gstqtvideosink/gstqtglvideosink.cpp b/src/VideoStreaming/gstqtvideosink/gstqtglvideosink.cpp index 2af4d8a8a..c92cca8de 100644 --- a/src/VideoStreaming/gstqtvideosink/gstqtglvideosink.cpp +++ b/src/VideoStreaming/gstqtvideosink/gstqtglvideosink.cpp @@ -86,7 +86,7 @@ void GstQtGLVideoSink::class_init(gpointer g_class, gpointer class_data) * This is an action signal that you can call from your Qt surface class inside * its paint function to render the video. It takes a QPainter* and the target * area rectangle as arguments. You should schedule to call this function to - * repaint the surface whenever the ::update signal is emited. + * repaint the surface whenever the ::update signal is emitted. * * Note that the x,y,width and height arguments are actually qreal. This means * that on architectures like arm they will be float instead of double. You should @@ -107,7 +107,7 @@ void GstQtGLVideoSink::class_init(gpointer g_class, gpointer class_data) /** * GstQtGLVideoSink::update * - * This signal is emited when the surface should be repainted. It should + * This signal is emitted when the surface should be repainted. It should * be connected to QWidget::update() or QGraphicsItem::update() or any * other similar function in your surface. */ diff --git a/src/VideoStreaming/gstqtvideosink/gstqtquick2videosink.cpp b/src/VideoStreaming/gstqtvideosink/gstqtquick2videosink.cpp index eedfd0699..fb07d1c95 100644 --- a/src/VideoStreaming/gstqtvideosink/gstqtquick2videosink.cpp +++ b/src/VideoStreaming/gstqtvideosink/gstqtquick2videosink.cpp @@ -410,7 +410,7 @@ gst_qt_quick2_video_sink_class_init (GstQtQuick2VideoSinkClass *klass) * inside its updateNode function to render the video. It takes a QSGNode* * and the item's area rectangle as arguments. You should schedule to call * this function to repaint the surface whenever the ::update signal is - * emited. + * emitted. * * Note that the x,y,width and height arguments are actually qreal. * This means that on architectures like arm they will be float instead @@ -432,7 +432,7 @@ gst_qt_quick2_video_sink_class_init (GstQtQuick2VideoSinkClass *klass) /** * GstQtQuick2VideoSink::update * - * This signal is emited when the surface should be repainted. It should + * This signal is emitted when the surface should be repainted. It should * be connected to QQuickItem::update(). */ s_signals[SIGNAL_UPDATE] = diff --git a/src/VideoStreaming/gstqtvideosink/gstqtvideosink.cpp b/src/VideoStreaming/gstqtvideosink/gstqtvideosink.cpp index b491745cd..edb5a6db9 100644 --- a/src/VideoStreaming/gstqtvideosink/gstqtvideosink.cpp +++ b/src/VideoStreaming/gstqtvideosink/gstqtvideosink.cpp @@ -66,7 +66,7 @@ void GstQtVideoSink::class_init(gpointer g_class, gpointer class_data) * This is an action signal that you can call from your Qt surface class inside * its paint function to render the video. It takes a QPainter* and the target * area rectangle as arguments. You should schedule to call this function to - * repaint the surface whenever the ::update signal is emited. + * repaint the surface whenever the ::update signal is emitted. * * Note that the x,y,width and height arguments are actually qreal. This means * that on architectures like arm they will be float instead of double. You should @@ -87,7 +87,7 @@ void GstQtVideoSink::class_init(gpointer g_class, gpointer class_data) /** * GstQtVideoSink::update * - * This signal is emited when the surface should be repainted. It should + * This signal is emitted when the surface should be repainted. It should * be connected to QWidget::update() or QGraphicsItem::update() or any * other similar function in your surface. */ diff --git a/src/comm/LinkInterface.h b/src/comm/LinkInterface.h index 5a83bee0f..ed47e7ab6 100644 --- a/src/comm/LinkInterface.h +++ b/src/comm/LinkInterface.h @@ -187,7 +187,7 @@ signals: */ void nameChanged(QString name); - /** @brief Communication error occured */ + /** @brief Communication error occurred */ void communicationError(const QString& title, const QString& error); void communicationUpdate(const QString& linkname, const QString& text); @@ -217,7 +217,7 @@ protected: /// This function logs the send times and amounts of datas for input. Data is used for calculating /// the transmission rate. /// @param byteCount Number of bytes received - /// @param time Time in ms send occured + /// @param time Time in ms send occurred void _logInputDataRate(quint64 byteCount, qint64 time) { if(_enableRateCollection) _logDataRateToBuffer(_inDataWriteAmounts, _inDataWriteTimes, &_inDataIndex, byteCount, time); @@ -226,7 +226,7 @@ protected: /// This function logs the send times and amounts of datas for output. Data is used for calculating /// the transmission rate. /// @param byteCount Number of bytes sent - /// @param time Time in ms receive occured + /// @param time Time in ms receive occurred void _logOutputDataRate(quint64 byteCount, qint64 time) { if(_enableRateCollection) _logDataRateToBuffer(_outDataWriteAmounts, _outDataWriteTimes, &_outDataIndex, byteCount, time); diff --git a/src/comm/LogReplayLink.cc b/src/comm/LogReplayLink.cc index 00f286265..273d35886 100644 --- a/src/comm/LogReplayLink.cc +++ b/src/comm/LogReplayLink.cc @@ -159,7 +159,7 @@ quint64 LogReplayLink::_parseTimestamp(const QByteArray& bytes) return timestamp; } -/// Seeks to the beginning of the next successully parsed mavlink message in the log file. +/// Seeks to the beginning of the next successfully parsed mavlink message in the log file. /// @param nextMsg[output] Parsed next message that was found /// @return A Unix timestamp in microseconds UTC for found message or 0 if parsing failed quint64 LogReplayLink::_seekToNextMavlinkMessage(mavlink_message_t* nextMsg) diff --git a/src/comm/QGCFlightGearLink.cc b/src/comm/QGCFlightGearLink.cc index 2779fb7e1..fcbb4029f 100644 --- a/src/comm/QGCFlightGearLink.cc +++ b/src/comm/QGCFlightGearLink.cc @@ -68,13 +68,13 @@ QGCFlightGearLink::QGCFlightGearLink(Vehicle* vehicle, QString startupArguments, QGCFlightGearLink::~QGCFlightGearLink() { //do not disconnect unless it is connected. - //disconnectSimulation will delete the memory that was allocated for proces, terraSync and _udpCommSocket + //disconnectSimulation will delete the memory that was allocated for process, terraSync and _udpCommSocket if(connectState){ disconnectSimulation(); } } -/// @brief Runs the simulation thread. We do setup work here which needs to happen in the seperate thread. +/// @brief Runs the simulation thread. We do setup work here which needs to happen in the separate thread. void QGCFlightGearLink::run() { Q_ASSERT(_vehicle); @@ -497,7 +497,7 @@ bool QGCFlightGearLink::disconnectSimulation() return !connectState; } -/// @brief Splits a space seperated set of command line arguments into a QStringList. +/// @brief Splits a space separated set of command line arguments into a QStringList. /// Quoted strings are allowed and handled correctly. /// @param uiArgs Arguments to parse /// @param argList Returned argument list @@ -602,7 +602,7 @@ bool QGCFlightGearLink::connectSimulation() // We setup all the information we need to start FlightGear here such that if something goes // wrong we can return false out of here. All of this happens on the main UI thread. Once we // have that information setup we start the thread which will call run, which will in turn - // start the various FG processes on the seperate thread. + // start the various FG processes on the separate thread. if (!_vehicle->uas()) { return false; @@ -617,7 +617,7 @@ bool QGCFlightGearLink::connectSimulation() QDir fgAppDir; // Location of main FlightGear application // Reset the list of arguments which will be provided to FG to the arguments set by the user via the UI - // First split the space seperated command line arguments coming in from the ui into a QStringList since + // First split the space separated command line arguments coming in from the ui into a QStringList since // that is what QProcess::start needs. QStringList uiArgList; bool mismatchedQuotes = parseUIArguments(startupArguments, uiArgList); @@ -709,7 +709,7 @@ bool QGCFlightGearLink::connectSimulation() regExp.setPattern("^fg_scenery:(.*)"); if (regExp.indexIn(line) == 0 && regExp.captureCount() == 1) { - // Scenery can contain multiple paths seperated by ';' so don't do QDir::absolutePath on it + // Scenery can contain multiple paths separated by ';' so don't do QDir::absolutePath on it fgSceneryPath = regExp.cap(1); qDebug() << "fg_scenery" << fgSceneryPath; continue; diff --git a/src/comm/QGCJSBSimLink.cc b/src/comm/QGCJSBSimLink.cc index 2e7867d95..be22be67a 100644 --- a/src/comm/QGCJSBSimLink.cc +++ b/src/comm/QGCJSBSimLink.cc @@ -48,7 +48,7 @@ QGCJSBSimLink::QGCJSBSimLink(Vehicle* vehicle, QString startupArguments, QString QGCJSBSimLink::~QGCJSBSimLink() { //do not disconnect unless it is connected. - //disconnectSimulation will delete the memory that was allocated for proces, terraSync and socket + //disconnectSimulation will delete the memory that was allocated for process, terraSync and socket if(connectState){ disconnectSimulation(); } diff --git a/src/comm/SerialLink.cc b/src/comm/SerialLink.cc index 65f2cfc17..085648b4d 100644 --- a/src/comm/SerialLink.cc +++ b/src/comm/SerialLink.cc @@ -88,7 +88,7 @@ void SerialLink::_writeBytes(const QByteArray data) _logOutputDataRate(data.size(), QDateTime::currentMSecsSinceEpoch()); _port->write(data); } else { - // Error occured + // Error occurred _emitLinkError(tr("Could not send data - link %1 is disconnected!").arg(getName())); } } diff --git a/src/input/Mouse6dofInput.cpp b/src/input/Mouse6dofInput.cpp index d1c5956ea..26d41620f 100644 --- a/src/input/Mouse6dofInput.cpp +++ b/src/input/Mouse6dofInput.cpp @@ -240,7 +240,7 @@ void Mouse6dofInput::button3DMouseDown(int button) #ifdef QGC_MOUSE_ENABLED_LINUX void Mouse6dofInput::handleX11Event(XEvent *event) { - //qDebug("XEvent occured..."); + //qDebug("XEvent occurred..."); if (!mouseActive) { qDebug() << "3dMouse not initialized. Cancelled handling X11event for 3dMouse"; diff --git a/src/qgcunittest/FileManagerTest.cc b/src/qgcunittest/FileManagerTest.cc index 6c08cacb0..0a8cc1f91 100644 --- a/src/qgcunittest/FileManagerTest.cc +++ b/src/qgcunittest/FileManagerTest.cc @@ -235,7 +235,7 @@ void FileManagerTest::_readDownloadTest(void) _fileManager->downloadPath(testCase->filename, QDir::temp()); QTest::qWait(_ackTimerTimeoutMsecs); // Let the file manager timeout - // This should be a succesful download + // This should be a successful download QCOMPARE(_multiSpy->checkOnlySignalByMask(commandCompleteSignalMask), true); _multiSpy->clearAllSignals(); @@ -321,7 +321,7 @@ void FileManagerTest::_streamDownloadTest(void) _fileManager->streamPath(testCase->filename, QDir::temp()); QTest::qWait(_ackTimerTimeoutMsecs); // Let the file manager timeout - // This should be a succesful download + // This should be a successful download QCOMPARE(_multiSpy->checkOnlySignalByMask(commandCompleteSignalMask), true); _multiSpy->clearAllSignals(); diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index d4d107c0f..32b74d9d0 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -1745,7 +1745,7 @@ float UAS::addZeroMeanNoise(float truth_meas, float noise_var) //as well float noise = z0 * sqrt(noise_var); //calculate normally distributed variable with mu = 0, std = var^2 - //Finally gaurd against any case where the noise is not real + //Finally guard against any case where the noise is not real if(std::isfinite(noise)) { return truth_meas + noise; } else { diff --git a/src/uas/UAS.h b/src/uas/UAS.h index 59aa19bc4..1e93a0670 100644 --- a/src/uas/UAS.h +++ b/src/uas/UAS.h @@ -590,7 +590,7 @@ protected: bool componentMulti[256]; bool connectionLost; ///< Flag indicates a timed out connection quint64 connectionLossTime; ///< Time the connection was interrupted - quint64 lastVoltageWarning; ///< Time at which the last voltage warning occured + quint64 lastVoltageWarning; ///< Time at which the last voltage warning occurred quint64 lastNonNullTime; ///< The last timestamp from the MAV that was not null unsigned int onboardTimeOffsetInvalidCount; ///< Count when the offboard time offset estimation seemed wrong bool hilEnabled; diff --git a/src/uas/UASInterface.h b/src/uas/UASInterface.h index 035920e75..cf022f593 100644 --- a/src/uas/UASInterface.h +++ b/src/uas/UASInterface.h @@ -192,7 +192,7 @@ signals: /** * @brief Update the error count of a device * - * The error count indicates how many errors occured during the use of a device. + * The error count indicates how many errors occurred during the use of a device. * Usually a random error from time to time is acceptable, e.g. through electromagnetic * interferences on device lines like I2C and SPI. A constantly and rapidly increasing * error count however can help to identify broken cables or misbehaving drivers. @@ -200,7 +200,7 @@ signals: * @param uasid System ID * @param component Name of the component, e.g. "IMU" * @param device Name of the device, e.g. "SPI0" or "I2C1" - * @param count Errors occured since system startup + * @param count Errors occurred since system startup */ void errCountChanged(int uasid, QString component, QString device, int count); diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index fbc1b53ee..98bd3b6bd 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -405,7 +405,7 @@ void MainWindow::reallyClose(void) void MainWindow::closeEvent(QCloseEvent *event) { if (!_forceClose) { - // Attemp close from within the root Qml item + // Attempt close from within the root Qml item qgcApp()->qmlAttemptWindowClose(); event->ignore(); return; diff --git a/src/ui/QGCDataPlot2D.cc b/src/ui/QGCDataPlot2D.cc index 788bf8271..472b91e1f 100644 --- a/src/ui/QGCDataPlot2D.cc +++ b/src/ui/QGCDataPlot2D.cc @@ -680,7 +680,7 @@ bool QGCDataPlot2D::linearRegression(double *x, double *y, int n, double *a, dou syy = sumy2 - sumy * sumy / n; sxy = sumxy - sumx * sumy / n; - /* Infinite slope (b), non existant intercept (a) */ + /* Infinite slope (b), non existent intercept (a) */ if (fabs(sxx) == 0) return false; diff --git a/src/ui/linechart/IncrementalPlot.cc b/src/ui/linechart/IncrementalPlot.cc index eb3ee8e69..ff594e27c 100644 --- a/src/ui/linechart/IncrementalPlot.cc +++ b/src/ui/linechart/IncrementalPlot.cc @@ -128,7 +128,7 @@ void IncrementalPlot::showLegend(bool show) } /** - * Set datapoint and line style. This interface is intented + * Set datapoint and line style. This interface is intended * to be directly connected to the UI and allows to parse * human-readable, textual descriptions into plot specs. * diff --git a/src/ui/linechart/LinechartPlot.h b/src/ui/linechart/LinechartPlot.h index cd311d3ce..2d6e38e9f 100644 --- a/src/ui/linechart/LinechartPlot.h +++ b/src/ui/linechart/LinechartPlot.h @@ -240,9 +240,9 @@ protected: // TODO CHECK THIS!!! int scaling; QwtScaleEngine* yScaleEngine; - quint64 minTime; ///< The smallest timestamp occured so far + quint64 minTime; ///< The smallest timestamp occurred so far quint64 lastTime; ///< Last added timestamp - quint64 maxTime; ///< The biggest timestamp occured so far + quint64 maxTime; ///< The biggest timestamp occurred so far quint64 maxInterval; quint64 storageInterval; diff --git a/src/ui/toolbar/MainToolBar.qml b/src/ui/toolbar/MainToolBar.qml index 1b38d7361..902b83e12 100644 --- a/src/ui/toolbar/MainToolBar.qml +++ b/src/ui/toolbar/MainToolBar.qml @@ -219,7 +219,7 @@ Rectangle { QGCLabel { id: rssiLabel - text: activeVehicle ? (activeVehicle.rcRSSI != 255 ? qsTr("RC RSSI Status") : qsTr("RC RSSI Data Unavailable")) : qsTr("N/A", "No data avaliable") + text: activeVehicle ? (activeVehicle.rcRSSI != 255 ? qsTr("RC RSSI Status") : qsTr("RC RSSI Data Unavailable")) : qsTr("N/A", "No data available") font.family: ScreenTools.demiboldFontFamily anchors.horizontalCenter: parent.horizontalCenter } diff --git a/tools/osxrelocator.py b/tools/osxrelocator.py index 6090ef91b..9a6999b5d 100755 --- a/tools/osxrelocator.py +++ b/tools/osxrelocator.py @@ -137,7 +137,7 @@ class Main(object): # module import optparse usage = "usage: %prog [options] directory old_prefix new_prefix" - description = 'Rellocates object files changing the dependant '\ + description = 'Rellocates object files changing the dependent '\ ' dynamic libraries location path with a new one' parser = optparse.OptionParser(usage=usage, description=description) parser.add_option('-r', '--recursive', action='store_true', diff --git a/tools/prepare_gstreamer_framework.sh b/tools/prepare_gstreamer_framework.sh index c1e4993e7..f59f4c93b 100755 --- a/tools/prepare_gstreamer_framework.sh +++ b/tools/prepare_gstreamer_framework.sh @@ -62,7 +62,7 @@ process_framework() { rm -rf $GST_TARGET/lib/libffi-3.0.13 rm -rf $GST_TARGET/lib/pkgconfig rm $GST_TARGET/Commands - #-- Now relocate the embeded paths + #-- Now relocate the embedded paths echo "GST Installer: Relocating" python $RELOC -r "$GST_TARGET" "$OLDDLPATH" "$NEWDLPATH" > /dev/null || die "Error relocating binaries in $GST_TARGET/lib" } -- 2.22.0