1
Fork 0
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:
Andreas Kling 2018-10-13 14:26:37 +02:00
parent 969334505d
commit 6ea8ce500c
5 changed files with 10 additions and 5 deletions

View file

@ -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)