summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/GButton.cpp')
-rw-r--r--Libraries/LibGUI/GButton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GButton.cpp b/Libraries/LibGUI/GButton.cpp
index 22d310e04d..0947b56a41 100644
--- a/Libraries/LibGUI/GButton.cpp
+++ b/Libraries/LibGUI/GButton.cpp
@@ -61,7 +61,7 @@ void Button::paint_event(PaintEvent& event)
return;
auto content_rect = rect().shrunken(8, 2);
- auto icon_location = m_icon ? content_rect.center().translated(-(m_icon->width() / 2), -(m_icon->height() / 2)) : Point();
+ auto icon_location = m_icon ? content_rect.center().translated(-(m_icon->width() / 2), -(m_icon->height() / 2)) : Gfx::Point();
if (m_icon && !text().is_empty())
icon_location.set_x(content_rect.x());
if (is_being_pressed() || is_checked())