mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Fixed Windows warning.
This commit is contained in:
parent
f3aba2fea3
commit
247dc0d7a2
1 changed files with 2 additions and 0 deletions
|
@ -1752,6 +1752,8 @@ bool lcPiecesLibrary::LoadTexture(lcTexture* Texture)
|
||||||
sprintf(FileName, "parts/textures/%s.png", Name);
|
sprintf(FileName, "parts/textures/%s.png", Name);
|
||||||
|
|
||||||
return Texture->Load(mLibraryDir.absoluteFilePath(QLatin1String(FileName)));
|
return Texture->Load(mLibraryDir.absoluteFilePath(QLatin1String(FileName)));
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue