summaryrefslogtreecommitdiff
path: root/Applications/QuickShow
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-06 13:32:14 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-06 13:32:14 +0100
commitf8b00aa29010cc3a99b285d0afd88314c40be079 (patch)
tree578b042c504966843609d9c6260093d859e67306 /Applications/QuickShow
parent9b87843af169b08f1b852da96f696004866783fe (diff)
downloadserenity-f8b00aa29010cc3a99b285d0afd88314c40be079.zip
LibGfx: Unpublish Gfx::Size from the 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 a4161c07d7..40e9a86c3f 100644
--- a/Applications/QuickShow/QSWidget.cpp
+++ b/Applications/QuickShow/QSWidget.cpp
@@ -53,7 +53,7 @@ void QSWidget::set_bitmap(NonnullRefPtr<Gfx::Bitmap> bitmap)
void QSWidget::relayout()
{
- Size new_size;
+ Gfx::Size new_size;
float scale_factor = (float)m_scale / 100.0f;
new_size.set_width(m_bitmap->width() * scale_factor);
new_size.set_height(m_bitmap->height() * scale_factor);