QDir
QStandardPaths
true
true
false
false
true
false
false
!QStandardPaths::writableLocation(QStandardPaths::MusicLocation).isEmpty()?
(
QDir(QStandardPaths::writableLocation(QStandardPaths::MusicLocation)).exists() ?
QStandardPaths::writableLocation(QStandardPaths::MusicLocation) :
QDir::rootPath()
) :
QDir::rootPath()