diff --git a/scwx-qt/source/scwx/qt/util/texture_atlas.cpp b/scwx-qt/source/scwx/qt/util/texture_atlas.cpp index be2d49a4..fe2b2a9a 100644 --- a/scwx-qt/source/scwx/qt/util/texture_atlas.cpp +++ b/scwx-qt/source/scwx/qt/util/texture_atlas.cpp @@ -394,7 +394,7 @@ TextureAtlas::Impl::LoadImage(const std::string& imagePath) if (url.isLocalFile()) { QString suffix = QFileInfo(qImagePath).suffix().toLower(); - QString qLocalImagePath = url.toLocalFile(); + QString qLocalImagePath = url.toString(QUrl::PreferLocalFile); if (suffix == "svg") {