Remove useless else

This commit is contained in:
Jonas Kvinge
2024-06-12 17:38:58 +02:00
parent 93df859aa4
commit b233600b8c
32 changed files with 178 additions and 211 deletions

View File

@@ -124,8 +124,7 @@ bool FilesystemMusicStorage::DeleteFromStorage(const DeleteJob &job) {
if (fileInfo.isDir()) {
return Utilities::RemoveRecursive(path);
}
else {
return QFile::remove(path);
}
return QFile::remove(path);
}