mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
Taskbar: TaskbarWidget doesn't need a custom paint_event().
This commit is contained in:
parent
96104b5524
commit
e785dda3e7
2 changed files with 0 additions and 10 deletions
|
@ -22,11 +22,3 @@ TaskbarWidget::TaskbarWidget(WindowList& window_list, GWidget* parent)
|
|||
TaskbarWidget::~TaskbarWidget()
|
||||
{
|
||||
}
|
||||
|
||||
void TaskbarWidget::paint_event(GPaintEvent& event)
|
||||
{
|
||||
GFrame::paint_event(event);
|
||||
|
||||
GPainter painter(*this);
|
||||
painter.add_clip_rect(event.rect());
|
||||
}
|
||||
|
|
|
@ -10,7 +10,5 @@ public:
|
|||
virtual const char* class_name() const override { return "TaskbarWidget"; }
|
||||
|
||||
private:
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
|
||||
WindowList& m_window_list;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue