Skip to content

Default File View folder to QStandard music path

Eduardo Bray requested to merge ebray/elisa:master into master

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

  1. Change the Music path setting in the system settings (System settings -> Applications -> Locations -> Music path)
  2. Run Elisa and open the File View. It should follow the setting.
  3. Change the setting in the system settings to a non-existing path or leave empty
  4. Run Elisa, open the File View. Elisa should fallback to root "/"

Bugs fixed

BUG: 468523

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

Merge request reports