Default File View folder to QStandard music path
Reason for the change
This merge makes the default File View directory the one set by the user in System settings -> Applications -> Locations -> Music path
.
This avoids the tedious task of browsing system directories every time you want to access the local library. Especially useful when the music library is in a very nested path.
If the path is no settled in the System settings or the path is not a valid one, then it will fallback to the root folder as in the current version.
Test plan
- Change the Music path setting in the system settings (System settings -> Applications -> Locations -> Music path)
- Run Elisa and open the File View. It should follow the setting.
- Change the setting in the system settings to a non-existing path or leave empty
- Run Elisa, open the File View. Elisa should fallback to root "/"
Bugs fixed
Original commit message
Default File View folder to QStandard music path
The default folder could be changed from the System settings: System settings -> Applications -> Locations -> Music path