Berthold Stoeger
38ba434966
Cleanup: return directly from data() methods
...
There is this anti-pattern in QModel data() functions to assign
to a "ret" variable and return at the end of the function. This
is inefficient, as the object is not directly constructed at
the space reserved by the caller.
Change the functions in WeightModel and CylinderModel to return
the objects directly.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-06-19 13:11:10 -07:00
..
2019-06-19 13:11:10 -07:00
2019-04-12 18:19:07 +03:00
2019-05-06 10:48:44 +02:00
2019-06-19 13:11:10 -07:00
2017-04-29 13:32:55 -07:00
2019-06-19 13:11:10 -07:00
2019-04-12 18:19:07 +03:00
2018-05-21 12:48:04 -07:00
2018-09-29 15:23:25 -07:00
2018-06-17 06:53:13 +09:00
2018-09-29 15:23:25 -07:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2019-06-19 13:11:10 -07:00
2019-04-12 12:59:17 +03:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2019-04-16 20:38:19 +02:00
2019-04-16 20:38:19 +02:00
2019-04-12 18:19:07 +03:00
2019-03-29 06:51:12 -07:00
2018-05-21 12:48:04 -07:00
2018-09-29 15:23:25 -07:00
2019-05-06 10:48:44 +02:00
2019-05-06 10:48:44 +02:00
2019-06-19 13:11:10 -07:00
2019-04-12 18:19:07 +03:00
2019-06-19 13:11:10 -07:00
2019-05-11 12:06:19 -07:00
2018-10-21 19:55:09 +03:00
2018-01-10 16:45:42 +01:00
2019-05-11 12:06:19 -07:00
2019-05-11 12:06:19 -07:00
2018-05-21 12:48:04 -07:00
2018-09-29 15:23:25 -07:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2019-04-29 13:06:39 -07:00
2019-04-29 13:06:39 -07:00
2018-09-01 07:48:43 -07:00
2018-09-29 15:23:25 -07:00
2019-06-19 13:11:10 -07:00
2019-04-12 18:19:07 +03:00
2019-04-29 13:06:39 -07:00
2019-04-29 13:06:39 -07:00
2019-03-19 16:06:14 -07:00
2018-12-17 12:18:26 +01:00