diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-22 15:29:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-23 17:31:08 +0200 |
commit | 299824de73c09885a0c4158d4aea0db0680b6333 (patch) | |
tree | e6a9088ff50e2352fab602cccdbb41480166fb6f /Applications/Browser/DownloadWidget.cpp | |
parent | a92f7aea7a92ab4d2b40ac023b891992392c6a0a (diff) | |
download | serenity-299824de73c09885a0c4158d4aea0db0680b6333.zip |
LibGUI: Rename GUI::Image => GUI::ImageWidget
"Image" was a bit too vague, "ImageWidget" is obviously a widget of
some sort.
Diffstat (limited to 'Applications/Browser/DownloadWidget.cpp')
-rw-r--r-- | Applications/Browser/DownloadWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/Browser/DownloadWidget.cpp b/Applications/Browser/DownloadWidget.cpp index 2a7de0e05f..752aa3c38c 100644 --- a/Applications/Browser/DownloadWidget.cpp +++ b/Applications/Browser/DownloadWidget.cpp @@ -33,7 +33,7 @@ #include <LibDesktop/Launcher.h> #include <LibGUI/BoxLayout.h> #include <LibGUI/Button.h> -#include <LibGUI/Image.h> +#include <LibGUI/ImageWidget.h> #include <LibGUI/Label.h> #include <LibGUI/MessageBox.h> #include <LibGUI/ProgressBar.h> @@ -74,7 +74,7 @@ DownloadWidget::DownloadWidget(const URL& url) animation_container.set_preferred_size(0, 32); auto& animation_layout = animation_container.set_layout<GUI::HorizontalBoxLayout>(); - auto& browser_image = animation_container.add<GUI::Image>(); + auto& browser_image = animation_container.add<GUI::ImageWidget>(); browser_image.load_from_file("/res/download-animation.gif"); animation_layout.add_spacer(); |