diff --git a/src/organise/organiseformat.cpp b/src/organise/organiseformat.cpp index 286303465..25e56a582 100644 --- a/src/organise/organiseformat.cpp +++ b/src/organise/organiseformat.cpp @@ -145,7 +145,7 @@ QString OrganiseFormat::GetFilenameForSong(const Song &song) const { QFileInfo info(filename); QString extension = info.suffix(); - QString filepath = info.path() + QDir::separator() + info.completeBaseName(); + QString filepath = info.path() + "/" + info.completeBaseName(); // Fix any parts of the path that start with dots. QStringList parts_old = filepath.split("/");