forked from qt-creator/qt-creator
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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user