1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-01 19:18:28 +01:00

Use slash

This commit is contained in:
Jonas Kvinge 2020-04-09 20:41:14 +02:00
parent 4dd78d89a0
commit 07a19ba619

View File

@ -145,7 +145,7 @@ QString OrganiseFormat::GetFilenameForSong(const Song &song) const {
QFileInfo info(filename); QFileInfo info(filename);
QString extension = info.suffix(); 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. // Fix any parts of the path that start with dots.
QStringList parts_old = filepath.split("/"); QStringList parts_old = filepath.split("/");