diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-10 12:50:58 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-11 08:35:20 -0700 |
commit | c9b8584bd2b7559008e57daf4359c02bad94d262 (patch) | |
tree | 14f58ccf3324712b316d652418e21cfbc0e333cf /export-html.cpp | |
parent | 215e5a45447f53047bfcc167da46714bf1496e8f (diff) | |
download | subsurface-c9b8584bd2b7559008e57daf4359c02bad94d262.tar.gz |
core: sort device-table by id/model instead of model/id
The device table is accessed by core via a callback using
call_for_each_dc(). This sorts the table by device-id. It
is unclear whether this is needed - since currently all it
does is make sure that the devices have a fixed order in XML
and git log files.
In any case, this means that the table had to be copied and
sorted in call_for_each_dc(). Since the frontend now does
its own sorting, we can just keep the core table sorted
as it needs it. This in turn will ultimately make it possible
to replace the callback by a simple loop.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'export-html.cpp')
0 files changed, 0 insertions, 0 deletions