summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/AboutDialog.h
AgeCommit message (Collapse)Author
2020-03-04LibGUI: Don't use Core::Object::add() to instantiate dialogsAndreas Kling
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-02-06LibGUI: Remove leading G from filenamesAndreas Kling