summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorelectrikmilk <brandonjordan124@gmail.com>2022-02-13 13:20:21 -0500
committerTim Flynn <trflynn89@pm.me>2022-02-13 15:17:09 -0500
commit91d27bd4841aa7538f5834cbc1e51b00b0bb930f (patch)
treeb09ef70ca498d8a4a32b3f6df48d7bc88c135ea2 /Userland/Applications
parentb4a7d148b1065ff63e9be861f2866a25ec5ec327 (diff)
downloadserenity-91d27bd4841aa7538f5834cbc1e51b00b0bb930f.zip
Magnifier: Add missing icons
Add icons for 'Next Frame' and 'Previous Frame'.
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/Magnifier/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Magnifier/main.cpp b/Userland/Applications/Magnifier/main.cpp
index 830667e409..5c1e9668fc 100644
--- a/Userland/Applications/Magnifier/main.cpp
+++ b/Userland/Applications/Magnifier/main.cpp
@@ -78,13 +78,13 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto timeline_menu = TRY(window->try_add_menu("&Timeline"));
auto previous_frame_action = GUI::Action::create(
- "&Previous frame", { Key_Left }, [&](auto&) {
+ "&Previous frame", { Key_Left }, TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/go-back.png")), [&](auto&) {
pause_action->set_checked(true);
magnifier->pause_capture(true);
magnifier->display_previous_frame();
});
auto next_frame_action = GUI::Action::create(
- "&Next frame", { Key_Right }, [&](auto&) {
+ "&Next frame", { Key_Right }, TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/go-forward.png")), [&](auto&) {
pause_action->set_checked(true);
magnifier->pause_capture(true);
magnifier->display_next_frame();