Cleanup: Fix typos in comments.

Fixed some typos in comments.
Separated from #3568 as per
https://github.com/subsurface/subsurface/pull/3568#pullrequestreview-1274995287.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2023-01-31 11:10:09 +13:00 committed by bstoeger
parent 0ccb762a09
commit 7ecc4c7034

View file

@ -264,7 +264,7 @@ void OstcFirmwareCheck::checkLatest(QWidget *_parent, device_data_t *data)
{ {
devData = *data; devData = *data;
parent = _parent; parent = _parent;
// If we didn't find a current firmware version stop this hole thing here. // If we didn't find a current firmware version stop this whole thing here.
if (latestFirmwareAvailable.isEmpty()) if (latestFirmwareAvailable.isEmpty())
return; return;
@ -274,7 +274,7 @@ void OstcFirmwareCheck::checkLatest(QWidget *_parent, device_data_t *data)
int firmwareOnDevice = devData.devinfo.firmware; int firmwareOnDevice = devData.devinfo.firmware;
QString firmwareOnDeviceString; QString firmwareOnDeviceString;
// Convert the latestFirmwareAvailable to a integear we can compare with // Convert the latestFirmwareAvailable to a integer we can compare with
QStringList fwParts = latestFirmwareAvailable.split("."); QStringList fwParts = latestFirmwareAvailable.split(".");
int latestFirmwareAvailableNumber; int latestFirmwareAvailableNumber;