EM: Replace Qt 6.8 only function with backwards compatible

Amends: 2ad4ff8036

Change-Id: I4ee9b825f0e7af37d26ec47b4b6bce57efc4debb
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Marcus Tillmanns
2025-02-04 09:21:14 +01:00
parent 2ad4ff8036
commit 173a67f8a9

View File

@@ -679,8 +679,8 @@ void ExtensionManagerWidget::fetchAndInstallPlugin(const QUrl &url, const QStrin
if (result == DoneWith::Success) { if (result == DoneWith::Success) {
storage->packageData = query.reply()->readAll(); storage->packageData = query.reply()->readAll();
QString contentDispo = QString::fromUtf8( QString contentDispo
query.reply()->headers().value(QHttpHeaders::WellKnownHeader::ContentDisposition)); = query.reply()->header(QNetworkRequest::ContentDispositionHeader).toString();
if (contentDispo.isEmpty()) if (contentDispo.isEmpty())
return; return;