1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-06-02 01:52:42 +00:00
harbour-sailfin/src
Chris Josten 9e9d075cd4 Fix models acting weird when changing sort
Apparently the Jellyfin server may include different fields in the
resposne depending on which SortOrder you use. This causes the model to
generate new roleNames when changing its sortOrder, but the QML part
does not know of this happening and there's no way of notifying the QML
part as far as I'm aware of (if so, let me know). So whenever new
generateFields() is called, it shouldn't reset its roleNames map and
recreate it anew, rather, just append the new roleNames to the current
map. If a model in QML wants to use information used in fields which are
added by changing SortOrder, please add those fields explicitly in
Fields.
2020-09-27 17:05:49 +02:00
..
credentialmanager.cpp Ready model for infinite lists 2020-09-27 03:14:05 +02:00
credentialmanager.h Ready model for infinite lists 2020-09-27 03:14:05 +02:00
harbour-sailfin.cpp Added videoplayer and many unrelated things 2020-09-25 14:46:39 +02:00
jellyfinapiclient.cpp Ready model for infinite lists 2020-09-27 03:14:05 +02:00
jellyfinapiclient.h Added settings, logout and improved error states 2020-09-26 23:29:45 +02:00
jellyfinapimodel.cpp Fix models acting weird when changing sort 2020-09-27 17:05:49 +02:00
jellyfinapimodel.h Implemented collections + misc UI improvements 2020-09-27 16:54:45 +02:00
jellyfindeviceprofile.cpp Added videoplayer and many unrelated things 2020-09-25 14:46:39 +02:00
jellyfindeviceprofile.h Added videoplayer and many unrelated things 2020-09-25 14:46:39 +02:00
jellyfinmediasource.cpp Added track selection and minor UI improvements 2020-09-25 17:14:44 +02:00
jellyfinmediasource.h Added track selection and minor UI improvements 2020-09-25 17:14:44 +02:00
serverdiscoverymodel.cpp Added videoplayer and many unrelated things 2020-09-25 14:46:39 +02:00
serverdiscoverymodel.h Added videoplayer and many unrelated things 2020-09-25 14:46:39 +02:00