@@ -647,7 +647,7 @@ namespace dstools {
647647 if (!slicerState.audioFiles .isEmpty () && m_audioFileList->fileCount () == 0 ) {
648648 QStringList resolvedPaths;
649649 for (const auto &relPath : slicerState.audioFiles ) {
650- QString nativePath = DsProject::fromPosixPath ( relPath) ;
650+ QString nativePath = relPath;
651651 if (QDir::isRelativePath (nativePath))
652652 nativePath = QDir (project->workingDirectory ()).absoluteFilePath (nativePath);
653653 if (QFile::exists (nativePath))
@@ -659,7 +659,7 @@ namespace dstools {
659659
660660 // Restore slice points
661661 for (const auto &[relPath, points] : slicerState.slicePoints ) {
662- QString nativePath = DsProject::fromPosixPath ( relPath) ;
662+ QString nativePath = relPath;
663663 if (QDir::isRelativePath (nativePath))
664664 nativePath = QDir (project->workingDirectory ()).absoluteFilePath (nativePath);
665665 if (!points.empty ())
@@ -668,7 +668,7 @@ namespace dstools {
668668
669669 // Load first audio file if available
670670 if (!slicerState.audioFiles .isEmpty ()) {
671- QString firstPath = DsProject::fromPosixPath ( slicerState.audioFiles .first () );
671+ QString firstPath = slicerState.audioFiles .first ();
672672 if (QDir::isRelativePath (firstPath))
673673 firstPath = QDir (project->workingDirectory ()).absoluteFilePath (firstPath);
674674 if (QFile::exists (firstPath)) {
@@ -689,7 +689,7 @@ namespace dstools {
689689
690690 const auto &firstItem = items[0 ];
691691 if (!firstItem.audioSource .isEmpty ()) {
692- QString audioPath = DsProject::fromPosixPath ( firstItem.audioSource ) ;
692+ QString audioPath = firstItem.audioSource ;
693693 if (QDir::isRelativePath (audioPath))
694694 audioPath = QDir (project->workingDirectory ()).absoluteFilePath (audioPath);
695695 if (QFile::exists (audioPath)) {
0 commit comments