forked from qt-creator/qt-creator
Qmldesigner: Fix texture bundle metadata key
The key generation was changed to omit filename suffix. Change-Id: I46f19fa0b8b750ebf10271cffa99682277d283b6 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -128,7 +128,7 @@ void ContentLibraryTexturesModel::loadTextureBundle(const QString &bundlePath, c
|
|||||||
tex.baseName());
|
tex.baseName());
|
||||||
QString localDownloadPath = QString("%1/%2/%3").arg(QmlDesignerBasePlugin::bundlesPathSetting(),
|
QString localDownloadPath = QString("%1/%2/%3").arg(QmlDesignerBasePlugin::bundlesPathSetting(),
|
||||||
m_category, dir.fileName());
|
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;
|
QString fileExt;
|
||||||
QSize dimensions;
|
QSize dimensions;
|
||||||
qint64 sizeInBytes = -1;
|
qint64 sizeInBytes = -1;
|
||||||
|
Reference in New Issue
Block a user