1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-14 10:11:01 +00:00
serenity/Applications/IRCClient
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
..
IRCAppWindow.cpp LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
IRCAppWindow.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
IRCChannel.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
IRCChannel.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
IRCChannelMemberListModel.cpp LibDraw: Put all classes in the Gfx namespace 2020-02-06 11:56:38 +01:00
IRCChannelMemberListModel.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
IRCClient.cpp AK: Make quick_sort() a little more ergonomic 2020-03-03 16:02:58 +01:00
IRCClient.h AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
IRCLogBuffer.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
IRCLogBuffer.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
IRCQuery.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
IRCQuery.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
IRCWindow.cpp LibCore: Make Core::Object::add<ChildType> return a ChildType& 2020-03-04 21:04:06 +01:00
IRCWindow.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
IRCWindowListModel.cpp LibDraw: Put all classes in the Gfx namespace 2020-02-06 11:56:38 +01:00
IRCWindowListModel.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
main.cpp IRCClient: Modernize Core::Object usage 2020-02-23 11:10:52 +01:00
Makefile LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00