deprecate any qt version older than qt 6.9.3

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2026-01-07 03:04:19 +02:00
parent 250d2a87c9
commit 170d59de2a
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
20 changed files with 76 additions and 68 deletions

View file

@ -134,12 +134,11 @@ bool PackFetchTask::parseAndAddPacks(QByteArray& data, PackType packType, Modpac
{
QDomDocument doc;
QString errorMsg = "Unknown error.";
int errorLine = -1;
int errorCol = -1;
auto result = doc.setContent(data);
if (!doc.setContent(data, false, &errorMsg, &errorLine, &errorCol)) {
auto fullErrMsg = QString("Failed to fetch modpack data: %1 %2:%3!").arg(errorMsg).arg(errorLine).arg(errorCol);
if (!result) {
auto fullErrMsg =
QString("Failed to fetch modpack data: %1 %2:%3!").arg(result.errorMessage).arg(result.errorLine).arg(result.errorColumn);
qWarning() << fullErrMsg;
return false;
}