mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 13:47:46 +02:00
Fix a few typos
As part of packaging Prism Launcher for Debian, I have run a package linter called lintian which found a few spelling errors throughout the source. I am not a fan of contributions that only fix cosmetics like spelling errors, but Debian encourages forwarding this stuff upstream instead of letting it get fixed naturally over time. Signed-off-by: Ben Westover <me@benthetechguy.net>
This commit is contained in:
@ -57,7 +57,7 @@ bool readOverrideOrders(QString path, PatchOrder& order)
|
||||
}
|
||||
if (!orderFile.open(QFile::ReadOnly)) {
|
||||
qCritical() << "Couldn't open" << orderFile.fileName() << " for reading:" << orderFile.errorString();
|
||||
qWarning() << "Ignoring overriden order";
|
||||
qWarning() << "Ignoring overridden order";
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -66,7 +66,7 @@ bool readOverrideOrders(QString path, PatchOrder& order)
|
||||
QJsonDocument doc = QJsonDocument::fromJson(orderFile.readAll(), &error);
|
||||
if (error.error != QJsonParseError::NoError) {
|
||||
qCritical() << "Couldn't parse" << orderFile.fileName() << ":" << error.errorString();
|
||||
qWarning() << "Ignoring overriden order";
|
||||
qWarning() << "Ignoring overridden order";
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -84,7 +84,7 @@ bool readOverrideOrders(QString path, PatchOrder& order)
|
||||
}
|
||||
} catch ([[maybe_unused]] const JSONValidationError& err) {
|
||||
qCritical() << "Couldn't parse" << orderFile.fileName() << ": bad file format";
|
||||
qWarning() << "Ignoring overriden order";
|
||||
qWarning() << "Ignoring overridden order";
|
||||
order.clear();
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user