Texture: remove invalid property name

maximumLayers was renamed to layers in the 5.7 release
see commit 26d4260897

Change-Id: Ibe6e55bb5f6ad47181a4584a4eb32cdec3934034
Reviewed-by: Mike Krus <mike.krus@kdab.com>
This commit is contained in:
Paul Lemire 2018-08-09 10:12:25 +02:00 committed by Mike Krus
parent f5456748d5
commit 5adb8f40f0
1 changed files with 0 additions and 3 deletions

View File

@ -140,9 +140,6 @@ void Texture::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)
} else if (propertyChange->propertyName() == QByteArrayLiteral("depth")) {
m_properties.depth = propertyChange->value().toInt();
dirty = DirtyProperties;
} else if (propertyChange->propertyName() == QByteArrayLiteral("maximumLayers")) {
m_properties.layers = propertyChange->value().toInt();
dirty = DirtyProperties;
} else if (propertyChange->propertyName() == QByteArrayLiteral("format")) {
m_properties.format = static_cast<QAbstractTexture::TextureFormat>(propertyChange->value().toInt());
dirty = DirtyProperties;