Fix image texture loading bug.

This commit is contained in:
Sarah Smith 2011-03-22 16:45:10 +10:00
parent c1e9c29ddb
commit 0888631165
1 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ void QDeclarativeEffect::setTexture(const QUrl& value)
else
{
// Load the new texture
d->textureUrl = value;
QString localFile = d->textureUrl.toLocalFile();
if (localFile.endsWith(QLatin1String(".dds")))
{