mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-03 17:34:12 +02:00
af184ed986
ElementsLocation::pugiXml() and the qet_directory name lookup opened files with pugixml's load_file(), which on Windows fails once the full path reaches MAX_PATH. QFile handles long paths, so exist() and the import succeeded while uuid(), the name, the informations and the thumbnail of the same symbol came back empty. Read the bytes with QFile and hand them to load_buffer(). Reported on #1178 as a false collision from qet.addElement. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>