summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTibor Nagy <xnagytibor@gmail.com>2020-03-30 12:26:44 +0200
committerAndreas Kling <kling@serenityos.org>2020-03-30 13:03:53 +0200
commitc7f3d72a6ab1b343f3b522e7ff07ceca6f74f7d8 (patch)
tree75d2e2ccdf41b56a19ef0c917f9dfe08866d7436
parentf15e9ee0fc35c8f73e7bcbfb38fa6a9167eb6e0b (diff)
downloadserenity-c7f3d72a6ab1b343f3b522e7ff07ceca6f74f7d8.zip
HackStudio: Add an upscaled 32x32 icon to the About dialog
-rw-r--r--Base/res/icons/32x32/app-hack-studio.pngbin0 -> 886 bytes
-rw-r--r--DevTools/HackStudio/main.cpp6
2 files changed, 2 insertions, 4 deletions
diff --git a/Base/res/icons/32x32/app-hack-studio.png b/Base/res/icons/32x32/app-hack-studio.png
new file mode 100644
index 0000000000..0d439cf5df
--- /dev/null
+++ b/Base/res/icons/32x32/app-hack-studio.png
Binary files differ
diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp
index e82a29578c..c02b908f4e 100644
--- a/DevTools/HackStudio/main.cpp
+++ b/DevTools/HackStudio/main.cpp
@@ -523,17 +523,15 @@ int main(int argc, char** argv)
view_menu->add_action(remove_current_editor_action);
menubar->add_menu(move(view_menu));
- auto small_icon = Gfx::Bitmap::load_from_file("/res/icons/16x16/app-hack-studio.png");
-
auto help_menu = GUI::Menu::construct("Help");
help_menu->add_action(GUI::Action::create("About", [&](auto&) {
- GUI::AboutDialog::show("HackStudio", small_icon, g_window);
+ GUI::AboutDialog::show("HackStudio", Gfx::Bitmap::load_from_file("/res/icons/32x32/app-hack-studio.png"), g_window);
}));
menubar->add_menu(move(help_menu));
app.set_menubar(move(menubar));
- g_window->set_icon(small_icon);
+ g_window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-hack-studio.png"));
g_window->show();