Andreas Kling
b29ff7b821
LibGUI: Don't use Core::Object::add() to instantiate dialogs
...
Now that add() returns a WidgetType&, we can't rely on the parent of a
GUI::Dialog to still keep it alive after exec() returns. This happens
because exec() will call remove_from_parent() on itself before
returning.
And so we go back to the old idiom for creating a GUI::Dialog centered
above a specific window. Just call GUI::Dialog::construct(), passing
the "parent" window as the last parameter.
2020-03-04 21:04:06 +01:00
..
2020-03-04 21:04:06 +01:00
2020-03-04 21:04:06 +01:00
2020-03-03 22:37:48 +01:00
2020-03-03 22:37:48 +01:00
2020-02-25 23:06:40 +01:00
2020-02-25 16:03:15 +01:00
2020-02-25 16:03:15 +01:00
2020-02-25 16:03:15 +01:00
2020-02-14 23:31:18 +01:00
2020-02-16 09:41:56 +01:00
2020-02-06 20:33:02 +01:00
2020-02-16 09:41:56 +01:00
2020-03-04 14:26:16 +01:00
2020-02-16 09:41:56 +01:00
2020-02-25 14:52:35 +01:00
2020-02-16 09:41:56 +01:00
2020-03-03 17:02:38 +01:00
2020-03-03 17:02:38 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-28 12:55:58 +01:00
2020-02-16 09:41:56 +01:00
2020-03-04 21:04:06 +01:00
2020-03-04 21:04:06 +01:00
2020-02-25 16:05:00 +01:00
2020-02-25 16:03:15 +01:00
2020-03-04 14:26:16 +01:00
2020-02-23 12:27:53 +01:00
2020-02-06 20:33:02 +01:00
2020-02-06 20:33:02 +01:00
2020-02-07 20:07:15 +01:00
2020-02-07 20:07:15 +01:00
2020-02-25 14:52:35 +01:00
2020-02-07 20:07:15 +01:00
2020-02-16 09:41:56 +01:00
2020-02-16 09:41:56 +01:00
2020-03-04 21:04:06 +01:00
2020-03-04 21:04:06 +01:00
2020-02-28 12:55:58 +01:00
2020-02-16 09:41:56 +01:00
2020-02-14 17:35:04 +01:00
2020-02-15 00:13:44 +01:00
2020-03-04 21:04:06 +01:00
2020-03-04 21:04:06 +01:00
2020-02-25 14:52:35 +01:00
2020-02-14 13:18:59 +01:00
2020-03-03 16:02:58 +01:00
2020-02-15 00:10:34 +01:00
2020-02-24 20:48:42 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-16 09:41:56 +01:00
2020-02-16 09:41:56 +01:00
2020-03-04 21:04:06 +01:00
2020-03-04 21:04:06 +01:00
2020-02-25 16:03:15 +01:00
2020-02-25 16:03:15 +01:00
2020-02-25 14:52:35 +01:00
2020-02-06 20:33:02 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-16 09:41:56 +01:00
2020-02-16 09:41:56 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-25 16:03:15 +01:00
2020-02-25 16:03:15 +01:00
2020-02-24 20:48:42 +01:00
2020-02-06 20:33:02 +01:00
2020-02-28 12:55:58 +01:00
2020-02-25 14:52:35 +01:00
2020-02-15 01:56:30 +01:00
2020-02-16 09:41:56 +01:00
2020-02-15 01:56:30 +01:00
2020-02-16 09:41:56 +01:00
2020-03-04 21:04:06 +01:00
2020-03-04 21:04:06 +01:00
2020-02-13 21:45:46 +01:00
2020-02-16 09:41:56 +01:00
2020-02-23 12:27:53 +01:00
2020-02-16 09:41:56 +01:00
2020-02-16 09:41:56 +01:00
2020-02-16 09:41:56 +01:00
2020-02-16 09:41:56 +01:00
2020-02-27 14:43:35 +01:00
2020-02-27 14:43:35 +01:00
2020-02-16 21:58:17 +01:00
2020-02-16 21:58:17 +01:00
2020-02-14 23:31:18 +01:00
2020-02-16 09:41:56 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-24 10:40:32 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-25 14:52:35 +01:00
2020-02-16 09:41:56 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-03-03 16:02:58 +01:00
2020-02-06 20:33:02 +01:00
2020-03-03 17:02:38 +01:00
2020-02-24 10:40:32 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-03-04 21:04:06 +01:00
2020-02-23 12:27:53 +01:00
2020-02-25 14:52:35 +01:00
2020-02-16 09:41:56 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-25 14:52:35 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-02-23 12:27:53 +01:00
2020-03-01 12:58:22 +01:00
2020-03-01 12:58:22 +01:00
2020-03-01 12:58:22 +01:00
2020-02-23 12:27:53 +01:00
2020-02-06 20:33:02 +01:00
2020-02-06 20:33:02 +01:00
2020-03-04 21:04:06 +01:00
2020-02-23 12:27:53 +01:00
2020-03-02 23:05:04 +01:00
2020-03-02 23:05:04 +01:00
2020-02-25 14:52:35 +01:00
2020-02-25 14:52:35 +01:00
2020-02-06 20:33:02 +01:00
2020-02-15 00:12:31 +01:00
2020-02-25 14:52:35 +01:00
2020-03-03 22:37:48 +01:00
2020-02-28 12:55:58 +01:00
2020-03-03 22:37:48 +01:00
2020-02-28 12:55:58 +01:00
2020-02-06 20:33:02 +01:00
2020-02-06 20:33:02 +01:00