mirror of
https://github.com/leozide/leocad
synced 2024-12-26 21:58:44 +01:00
Fixed loading built-in library.
This commit is contained in:
parent
88b224daea
commit
41aa31b7a4
1 changed files with 1 additions and 1 deletions
|
@ -1874,7 +1874,7 @@ bool lcPiecesLibrary::LoadBuiltinPieces()
|
|||
{
|
||||
std::unique_ptr<lcDiskFile> File(new lcDiskFile(":/resources/library.zip"));
|
||||
|
||||
if (!OpenArchive(std::move(File), lcZipFileType::Official))
|
||||
if (!File->Open(QIODevice::ReadOnly) || !OpenArchive(std::move(File), lcZipFileType::Official))
|
||||
return false;
|
||||
|
||||
lcMemFile PieceFile;
|
||||
|
|
Loading…
Reference in a new issue