@@ -168,11 +168,11 @@ OrganizeFormat::GetFilenameForSongResult OrganizeFormat::GetFilenameForSong(cons
|
|||||||
QFileInfo info(filepath);
|
QFileInfo info(filepath);
|
||||||
filepath.clear();
|
filepath.clear();
|
||||||
if (extension.isEmpty()) {
|
if (extension.isEmpty()) {
|
||||||
if (info.completeSuffix().isEmpty()) {
|
if (info.suffix().isEmpty()) {
|
||||||
extension = QFileInfo(song.url().toLocalFile()).completeSuffix();
|
extension = QFileInfo(song.url().toLocalFile()).suffix();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
extension = info.completeSuffix();
|
extension = info.suffix();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!info.path().isEmpty() && info.path() != ".") {
|
if (!info.path().isEmpty() && info.path() != ".") {
|
||||||
|
|||||||
Reference in New Issue
Block a user