summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-17 21:49:17 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-17 21:49:17 +0100
commit0bb4111735a2fc22487f11f11ba27c00a1fc2366 (patch)
tree1d44b4b26c60e80cfe7577dcf95fffece1c6e77d
parent25b987ce4c4750771af2422d5c3dd9473c3193bf (diff)
downloadserenity-0bb4111735a2fc22487f11f11ba27c00a1fc2366.zip
HackStudio: Unbreak the form editor's widget icons
This is breakage from the GFoo => GUI::Foo rename.
-rw-r--r--DevTools/HackStudio/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp
index 912658fa20..fd856bca5d 100644
--- a/DevTools/HackStudio/main.cpp
+++ b/DevTools/HackStudio/main.cpp
@@ -283,7 +283,7 @@ int main(int argc, char** argv)
form_widgets_toolbar->add_action(cursor_tool_action);
GUI::WidgetClassRegistration::for_each([&](const GUI::WidgetClassRegistration& reg) {
- auto icon_path = String::format("/res/icons/widgets/%s.png", reg.class_name().characters());
+ auto icon_path = String::format("/res/icons/widgets/G%s.png", reg.class_name().characters());
auto action = GUI::Action::create(reg.class_name(), Gfx::Bitmap::load_from_file(icon_path), [&reg](auto&) {
g_form_editor_widget->set_tool(make<WidgetTool>(*g_form_editor_widget, reg));
auto widget = reg.construct(&g_form_editor_widget->form_widget());