mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:47:35 +00: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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue