mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:47:35 +00:00
Use HashMap::remove() in some places that I wanted it.
This commit is contained in:
parent
969334505d
commit
6ea8ce500c
5 changed files with 10 additions and 5 deletions
|
@ -11,6 +11,7 @@ Window::Window(Object* parent)
|
|||
|
||||
Window::~Window()
|
||||
{
|
||||
WindowManager::the().removeWindow(*this);
|
||||
}
|
||||
|
||||
void Window::setMainWidget(Widget* widget)
|
||||
|
@ -31,7 +32,6 @@ void Window::setTitle(String&& title)
|
|||
WindowManager::the().notifyTitleChanged(*this);
|
||||
}
|
||||
|
||||
|
||||
void Window::setRect(const Rect& rect)
|
||||
{
|
||||
if (m_rect == rect)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue