diff --git a/sources/ElementsCollection/elementscollectionwidget.cpp b/sources/ElementsCollection/elementscollectionwidget.cpp index 3f27f74fd..c5eae80ae 100644 --- a/sources/ElementsCollection/elementscollectionwidget.cpp +++ b/sources/ElementsCollection/elementscollectionwidget.cpp @@ -260,9 +260,9 @@ void ElementsCollectionWidget::openDir() if (!eci) return; if (eci->type() == FileElementCollectionItem::Type) - QDesktopServices::openUrl(static_cast(eci)->dirPath()); + QDesktopServices::openUrl(QUrl("file:///" + static_cast(eci)->dirPath())); else if (eci->type() == XmlProjectElementCollectionItem::Type) - QDesktopServices::openUrl(static_cast(eci)->project()->currentDir()); + QDesktopServices::openUrl(QUrl("file:///" + static_cast(eci)->project()->currentDir())); } /**