Merge pull request #524 from ispyisail/fix/collection-unicode-path

Fix #391: collection panel blank when path contains accented chars or is too long (Windows)
This commit is contained in:
Laurent Trinques
2026-06-29 23:11:17 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -138,7 +138,7 @@ QString FileElementCollectionItem::localName()
{
QString str(fileSystemPath() % "/qet_directory");
pugi::xml_document docu;
if(docu.load_file(str.toStdString().c_str()))
if(docu.load_file(str.toStdWString().c_str()))
{
if (QString(docu.document_element().name())
== "qet-directory")