From 762261367dca452c7d1c67162b1b0aed26c8669f Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Thu, 9 Mar 2023 14:03:12 +0200 Subject: [PATCH] Qmldesigner: Fix texture bundle metadata key The key generation was changed to omit filename suffix. Change-Id: I46f19fa0b8b750ebf10271cffa99682277d283b6 Reviewed-by: Mahmoud Badri --- .../components/contentlibrary/contentlibrarytexturesmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/contentlibrary/contentlibrarytexturesmodel.cpp b/src/plugins/qmldesigner/components/contentlibrary/contentlibrarytexturesmodel.cpp index 8f174c00f33..ce852da2e74 100644 --- a/src/plugins/qmldesigner/components/contentlibrary/contentlibrarytexturesmodel.cpp +++ b/src/plugins/qmldesigner/components/contentlibrary/contentlibrarytexturesmodel.cpp @@ -128,7 +128,7 @@ void ContentLibraryTexturesModel::loadTextureBundle(const QString &bundlePath, c tex.baseName()); QString localDownloadPath = QString("%1/%2/%3").arg(QmlDesignerBasePlugin::bundlesPathSetting(), m_category, dir.fileName()); - QString key = QString("%1/%2/%3.zip").arg(m_category, dir.fileName(), tex.baseName()); + QString key = QString("%1/%2/%3").arg(m_category, dir.fileName(), tex.baseName()); QString fileExt; QSize dimensions; qint64 sizeInBytes = -1;