diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-29 15:01:54 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-29 15:01:54 +0100 |
commit | f249c40aaa8101743b1ecc245c6c7c3b4ec7122e (patch) | |
tree | 543c9d193a8772a30a77377834a98dfd7518a390 /Applications | |
parent | 474340b9cdea76ca3e574a56d4681d1e7641c3a7 (diff) | |
download | serenity-f249c40aaa8101743b1ecc245c6c7c3b4ec7122e.zip |
Rename Painter::set_clip_rect() to add_clip_rect().
It was confusing to see multiple calls to set_foo() in a row. Since this is
an intersecting operation, let's call it add_clip_rect() instead.
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/ProcessManager/MemoryStatsWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/ProcessManager/MemoryStatsWidget.cpp b/Applications/ProcessManager/MemoryStatsWidget.cpp index 6704627dd4..559916571a 100644 --- a/Applications/ProcessManager/MemoryStatsWidget.cpp +++ b/Applications/ProcessManager/MemoryStatsWidget.cpp @@ -105,6 +105,6 @@ void MemoryStatsWidget::timer_event(GTimerEvent&) void MemoryStatsWidget::paint_event(GPaintEvent& event) { GPainter painter(*this); - painter.set_clip_rect(event.rect()); + painter.add_clip_rect(event.rect()); StylePainter::the().paint_surface(painter, rect()); } |