mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 17:28:48 +00:00
LibGUI: Remove parent parameter to GUI::Widget constructor
This commit is contained in:
parent
4ce28c32d1
commit
c5d913970a
Notes:
sideshowbarker
2024-07-19 09:08:33 +09:00
Author: https://github.com/awesomekling
Commit: c5d913970a
114 changed files with 207 additions and 313 deletions
|
@ -31,14 +31,8 @@
|
|||
|
||||
namespace GUI {
|
||||
|
||||
AbstractButton::AbstractButton(Widget* parent)
|
||||
: AbstractButton({}, parent)
|
||||
{
|
||||
}
|
||||
|
||||
AbstractButton::AbstractButton(const StringView& text, Widget* parent)
|
||||
: Widget(parent)
|
||||
, m_text(text)
|
||||
AbstractButton::AbstractButton(const StringView& text)
|
||||
: m_text(text)
|
||||
{
|
||||
m_auto_repeat_timer = add<Core::Timer>();
|
||||
m_auto_repeat_timer->on_timeout = [this] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue