diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-14 02:36:06 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-14 02:36:06 +0200 |
commit | 3f6408919ff020a9fcf575a231cbbd8820c40a60 (patch) | |
tree | 570eda8fc11a4b99fc6fa7fc7abce10af417baf3 /Applications | |
parent | d5dec1922bd977e92cc86e6e7c0d103ee8a3862d (diff) | |
download | serenity-3f6408919ff020a9fcf575a231cbbd8820c40a60.zip |
AK: Improve smart pointer ergonomics a bit.
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/VisualBuilder/VBForm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/VisualBuilder/VBForm.cpp b/Applications/VisualBuilder/VBForm.cpp index bd39bf1174..bedcf849a9 100644 --- a/Applications/VisualBuilder/VBForm.cpp +++ b/Applications/VisualBuilder/VBForm.cpp @@ -81,7 +81,7 @@ void VBForm::second_paint_event(GPaintEvent& event) bool VBForm::is_selected(const VBWidget& widget) const { - return &widget == m_selected_widget.ptr(); + return &widget == m_selected_widget; } VBWidget* VBForm::widget_at(const Point& position) |