diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/ImageWidget.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/ImageWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/ImageWidget.cpp b/Userland/Libraries/LibGUI/ImageWidget.cpp index 71e05e87bc..dcf4f16d25 100644 --- a/Userland/Libraries/LibGUI/ImageWidget.cpp +++ b/Userland/Libraries/LibGUI/ImageWidget.cpp @@ -14,7 +14,7 @@ REGISTER_WIDGET(GUI, ImageWidget) namespace GUI { -ImageWidget::ImageWidget(const StringView&) +ImageWidget::ImageWidget(StringView) : m_timer(Core::Timer::construct()) { @@ -71,7 +71,7 @@ void ImageWidget::animate() } } -void ImageWidget::load_from_file(const StringView& path) +void ImageWidget::load_from_file(StringView path) { auto file_or_error = MappedFile::map(path); if (file_or_error.is_error()) |