Berthold Stoeger 8dea2ada3b Undo: turn dive- and trip-fields into flags
The divesEdited signal sends the changed field as a parameter.
Since some undo-commands change multiple fields, this led to
numerous signals for a single command. This in turn would lead
to multiple profile-reloads and statistic recalculations.

Therefore, turn the enum into a bitfield. For simplicity,
provide a constructor that takes classical flags and turns
them into the bitfield. This is necessary because C-style
named initialization is only supported on C++20 onward!

Is this somewhat overengineered? Yes, maybe.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-10-26 11:36:23 -07:00
..
2019-09-27 16:26:58 -07:00
2019-08-08 08:56:44 -07:00
2019-08-08 16:26:31 -07:00
2019-08-08 16:26:31 -07:00
2017-04-29 13:32:55 -07:00
2019-09-27 16:26:58 -07:00
2019-08-11 08:20:38 +02:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2019-10-26 11:35:16 -07:00
2019-07-18 06:01:07 -07:00
2019-10-03 08:38:19 -07:00
2019-10-14 13:37:17 -07:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2019-09-21 16:12:23 -07:00
2019-09-21 16:12:23 -07:00