add albumId role to MediaPlayList and use it in ManageHeaderBar
Details
Details
tests are OK
Diff Detail
Diff Detail
- Repository
- R255 Elisa
- Branch
- albumIdInHeaderBar
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 846 Build 859: arc lint + arc unit
Comment Actions
Hey, thanks for working on this. I tried this in the links branch but it seems all albums are giving back zero (even after deleting/rebuilding the db).
console.log('id', elisa.manageHeaderBar.albumId) // qml: id 0
Comment Actions
- include tests for DatabaseInterface for the albumId attribute of tracks
- configure ManageHeaderBar to get albumId role from MediaPlayList
should fix the albumId always at 0
Comment Actions
You forgot to set the role in elisaapplication.cpp similar to the other roles (it's done in c++). You changed the android main qml file instead (which is horribly outdated)