summaryrefslogtreecommitdiff
path: root/Applications/QuickShow
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-06 13:08:32 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-06 13:08:32 +0100
commit9b87843af169b08f1b852da96f696004866783fe (patch)
treec5a7267ff44cc6a45ec39784e8ce34ea9774a96b /Applications/QuickShow
parent20cfd2a6bff8c469970651dd73ffee60ab0e5176 (diff)
downloadserenity-9b87843af169b08f1b852da96f696004866783fe.zip
LibGfx: Unpublish Gfx::Point from global namespace
Diffstat (limited to 'Applications/QuickShow')
-rw-r--r--Applications/QuickShow/QSWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/QuickShow/QSWidget.cpp b/Applications/QuickShow/QSWidget.cpp
index b677063f08..a4161c07d7 100644
--- a/Applications/QuickShow/QSWidget.cpp
+++ b/Applications/QuickShow/QSWidget.cpp
@@ -113,7 +113,7 @@ void QSWidget::mousewheel_event(GUI::MouseEvent& event)
relayout();
auto new_scale_factor = (float)m_scale / 100.0f;
auto scale_factor_change = new_scale_factor - old_scale_factor;
- m_bitmap_rect.move_by(-Point((float)zoom_point.x() * scale_factor_change, (float)zoom_point.y() * scale_factor_change));
+ m_bitmap_rect.move_by(-Gfx::Point((float)zoom_point.x() * scale_factor_change, (float)zoom_point.y() * scale_factor_change));
if (old_scale != m_scale) {
if (on_scale_change)
on_scale_change(m_scale);