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
..
2015-10-30 10:36:49 -07:00
2019-08-08 16:26:30 -07:00
2018-09-29 15:23:25 -07:00
2019-10-26 11:36:23 -07:00
2019-01-02 09:45:01 -08:00
2017-04-29 13:32:55 -07:00
2017-11-30 23:14:46 -08:00
2019-06-06 14:52:42 +03:00
2018-09-30 08:09:37 -07:00
2019-02-14 09:05:58 -08:00
2019-05-06 10:48:44 +02:00
2019-06-15 11:20:49 -07:00
2019-06-19 13:11:10 -07:00
2019-06-28 20:23:01 +09:00
2019-06-23 20:08:46 +02:00
2019-09-06 11:48:47 -07:00
2019-05-06 10:48:44 +02:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2019-10-26 11:36:23 -07:00
2019-10-26 11:36:23 -07:00
2019-06-23 20:08:46 +02:00
2019-06-23 20:08:46 +02:00
2019-10-26 11:36:23 -07:00
2019-10-26 11:36:23 -07:00
2018-08-28 12:03:03 -07:00
2018-09-29 15:23:25 -07:00
2018-04-27 21:33:47 +03:00
2019-02-07 16:06:43 +01:00
2018-06-17 06:53:13 +09:00
2018-06-17 06:53:13 +09:00
2017-11-30 23:14:46 -08:00
2019-10-20 03:51:11 -04:00
2019-06-23 20:08:46 +02:00
2019-09-21 16:07:24 -07:00
2019-02-07 16:06:43 +01:00
2019-04-13 08:18:32 -07:00
2019-06-19 13:11:10 -07:00
2018-10-04 10:22:11 +02:00
2017-11-30 23:14:46 -08:00
2018-07-18 09:06:37 -07:00
2018-09-29 15:23:25 -07:00
2019-10-20 03:51:11 -04:00
2019-01-13 15:02:07 -08:00
2018-03-02 08:38:22 -08:00
2018-08-29 03:09:10 -07:00
2017-05-27 11:07:20 -07:00
2015-10-30 10:36:49 -07:00
2019-05-06 10:48:44 +02:00
2019-05-06 10:48:44 +02:00
2019-05-06 10:48:44 +02:00
2019-10-02 08:04:49 -07:00
2019-10-02 08:04:49 -07:00
2018-09-23 11:49:30 -07:00
2019-05-12 12:33:55 -07:00
2019-04-12 18:19:07 +03:00
2019-07-29 07:24:05 +02:00
2019-03-18 19:40:32 -07:00
2018-07-04 02:27:36 +08:00
2018-07-15 09:38:12 -07:00
2018-01-10 16:45:42 +01:00
2018-09-29 15:23:25 -07:00
2017-04-29 13:32:55 -07:00
2018-09-29 15:23:25 -07:00
2018-12-14 01:05:18 +08:00
2019-10-20 03:51:11 -04:00
2019-09-07 08:28:29 -07:00
2019-04-12 18:19:07 +03:00
2019-09-27 16:26:58 -07:00
2019-09-27 16:26:58 -07:00
2019-06-03 19:55:19 +02:00
2019-10-26 11:36:23 -07:00
2019-09-06 11:48:47 -07:00
2019-05-11 12:35:11 -07:00
2019-05-11 12:35:11 -07:00
2018-01-31 14:47:26 +01:00
2018-01-31 14:47:26 +01:00
2017-02-24 01:06:09 -08:00
2019-09-11 14:55:33 +01:00
2019-09-11 17:21:50 +01:00
2019-09-11 17:21:50 +01:00
2019-09-11 17:21:50 +01:00
2019-09-11 17:21:50 +01:00
2019-04-12 12:59:17 +03:00
2019-04-02 07:34:46 -07:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2018-07-15 09:38:12 -07:00
2017-11-30 23:14:46 -08:00
2019-07-18 06:01:07 -07:00
2019-06-10 17:59:35 +03:00
2018-07-30 12:20:26 -07:00
2018-09-29 15:23:25 -07:00
2019-08-08 16:26:31 -07:00
2018-09-29 15:16:11 -07:00
2017-11-30 23:14:46 -08:00
2018-09-29 15:23:25 -07:00
2015-10-30 10:36:49 -07:00
2019-04-14 03:38:22 +12:00
2019-04-12 18:19:07 +03:00
2018-11-19 13:51:03 -08:00
2017-04-29 13:32:55 -07:00
2017-03-12 09:19:03 -07:00
2019-09-14 13:20:59 +02:00
2019-09-14 13:20:59 +02:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2019-02-09 10:37:55 -08:00
2017-04-29 13:32:55 -07:00
2018-07-15 09:38:12 -07:00
2019-04-12 18:19:07 +03:00
2019-03-20 08:45:02 -07:00
2018-08-29 03:09:10 -07:00
2017-04-29 13:32:55 -07:00
2017-03-06 06:40:00 -08:00
2017-11-30 23:14:46 -08:00