summaryrefslogtreecommitdiff
path: root/Widgets/Window.h
diff options
context:
space:
mode:
Diffstat (limited to 'Widgets/Window.h')
-rw-r--r--Widgets/Window.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Widgets/Window.h b/Widgets/Window.h
index 3da05c3c97..1bbe354eb1 100644
--- a/Widgets/Window.h
+++ b/Widgets/Window.h
@@ -28,7 +28,6 @@ public:
void set_rect_without_repaint(const Rect& rect) { m_rect = rect; }
Point position() const { return m_rect.location(); }
- void set_position(const Point& position) { set_rect({ position.x(), position.y(), width(), height() }); }
void set_position_without_repaint(const Point& position) { set_rect_without_repaint({ position.x(), position.y(), width(), height() }); }
virtual void event(Event&) override;