Skip to content

Commit

Permalink
Start: Fix extracting thumbnails on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Nov 22, 2024
1 parent a4bc062 commit 7d2f8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Start/App/DisplayedFilesModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ QByteArray loadFCStdThumbnail(const std::string& pathToFCStdFile)
if (proj.containsFile(thumb)) {
createThumbnailsDir();
Base::FileInfo fi(thumbnailFile);
Base::ofstream str(fi);
Base::ofstream str(fi, std::ios::in | std::ios::binary);
proj.readInputFileDirect(thumb, str);
str.close();
}
Expand Down

0 comments on commit 7d2f8fa

Please sign in to comment.