mirror of
https://github.com/leozide/leocad.git
synced 2026-07-28 04:07:11 +00:00
Fixed Windows warning.
This commit is contained in:
@@ -1752,6 +1752,8 @@ bool lcPiecesLibrary::LoadTexture(lcTexture* Texture)
|
||||
sprintf(FileName, "parts/textures/%s.png", Name);
|
||||
|
||||
return Texture->Load(mLibraryDir.absoluteFilePath(QLatin1String(FileName)));
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user