Files
create/src/Mod/TechDraw/Gui
tetektoza bbcdb77003 TechDraw: Return text fields directly as childs of QGISVGTemplate
As the title says. I've noticed during reproducing of #18921, that
after in `PagePrinter::renderPage` we call `setTemplateMarkers`
twice, which results in deleting `childItems` allocated memory
(in `setTemplateMarkers`->`setMarkers`->`updateView`->`clearClickHandles`),
and then we are calling `setTemplateMarkers` (also in `PagePrinter::renderPage`) second time,
accessing `textFields` in `setMarkers` method, which still contain hanging pointers
from the previous deallocation. This results in segfaults as we iterate through `textFields`.

So, instead of keeping sychronization between childs of QGISVGTemplate
and textFields vector - this patch removes this variable at all and uses
childs directly to return text fields.
2025-04-23 16:32:31 +02:00
..
2025-01-13 21:30:30 -06:00
2025-02-10 18:32:44 +01:00
2024-06-13 19:25:29 -04:00
2025-03-05 09:32:06 +01:00
2023-08-04 17:09:53 +02:00
2025-02-10 18:32:44 +01:00
2023-08-18 16:14:34 +02:00
2023-08-04 17:09:53 +02:00
2023-08-04 17:09:53 +02:00
2023-08-04 17:09:53 +02:00
2023-08-04 17:09:53 +02:00
2025-04-07 12:05:53 +02:00
2025-04-05 22:58:20 -05:00
2025-02-10 18:32:44 +01:00
2025-02-17 21:10:26 +01:00
2024-04-06 15:25:23 -04:00
2025-03-16 17:18:23 -05:00
2025-02-15 13:33:32 -06:00
2025-03-16 17:18:23 -05:00
2025-02-10 18:32:44 +01:00
2023-08-04 17:09:53 +02:00
2023-04-11 13:00:45 -04:00
2025-02-10 18:32:44 +01:00
2023-12-06 14:52:54 -05:00
2023-12-06 14:52:54 -05:00
2025-02-10 18:32:44 +01:00
2025-02-17 21:10:26 +01:00
2025-02-17 21:10:26 +01:00
2025-02-17 21:10:26 +01:00
2025-02-17 21:10:26 +01:00
2025-02-17 21:10:26 +01:00
2025-02-17 21:10:26 +01:00
2025-03-31 23:00:32 +02:00
2025-02-23 09:15:47 -05:00
2023-08-04 17:09:53 +02:00