From 2ace8988583305a703cc5d1e4272065e1855d7df Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 31 May 2026 17:59:17 +0200 Subject: [PATCH] UI/Qt: Stop using TVG icons Draw the remaining Qt chrome icons through the existing generated icon path instead of loading TinyVG resources. Add generated folder and chevron icons for menus, the bookmarks bar, and find-in-page controls, and use the generated globe icon for bookmarks without favicons. Remove the Qt TinyVG icon engine and drop the unused TVG resources from the Qt resource file. --- Base/res/ladybird/about-pages/bookmarks.html | 6 +- UI/Icons/back.tvg | Bin 134 -> 0 bytes UI/Icons/close.tvg | Bin 295 -> 0 bytes UI/Icons/down.tvg | Bin 48 -> 0 bytes UI/Icons/folder.tvg | Bin 170 -> 0 bytes UI/Icons/forward.tvg | Bin 147 -> 0 bytes UI/Icons/globe.tvg | Bin 766 -> 0 bytes UI/Icons/hamburger.tvg | Bin 80 -> 0 bytes UI/Icons/new_tab.tvg | Bin 87 -> 0 bytes UI/Icons/reload.tvg | Bin 371 -> 0 bytes UI/Icons/search.tvg | Bin 50 -> 0 bytes UI/Icons/star-countour.tvg | Bin 612 -> 0 bytes UI/Icons/star-filled.tvg | Bin 347 -> 0 bytes UI/Icons/up.tvg | Bin 48 -> 0 bytes UI/Qt/BookmarksBar.cpp | 2 +- UI/Qt/CMakeLists.txt | 1 - UI/Qt/FindInPageWidget.cpp | 12 +-- UI/Qt/Icon.cpp | 68 ++++++------ UI/Qt/Icon.h | 4 +- UI/Qt/Menu.cpp | 4 +- UI/Qt/TVGIconEngine.cpp | 108 ------------------- UI/Qt/TVGIconEngine.h | 69 ------------ UI/Qt/Tab.cpp | 2 +- UI/Qt/ladybird.qrc | 13 --- 24 files changed, 47 insertions(+), 242 deletions(-) delete mode 100644 UI/Icons/back.tvg delete mode 100644 UI/Icons/close.tvg delete mode 100644 UI/Icons/down.tvg delete mode 100644 UI/Icons/folder.tvg delete mode 100644 UI/Icons/forward.tvg delete mode 100644 UI/Icons/globe.tvg delete mode 100644 UI/Icons/hamburger.tvg delete mode 100644 UI/Icons/new_tab.tvg delete mode 100644 UI/Icons/reload.tvg delete mode 100644 UI/Icons/search.tvg delete mode 100644 UI/Icons/star-countour.tvg delete mode 100644 UI/Icons/star-filled.tvg delete mode 100644 UI/Icons/up.tvg delete mode 100644 UI/Qt/TVGIconEngine.cpp delete mode 100644 UI/Qt/TVGIconEngine.h diff --git a/Base/res/ladybird/about-pages/bookmarks.html b/Base/res/ladybird/about-pages/bookmarks.html index 25347ca32b..c38184de35 100644 --- a/Base/res/ladybird/about-pages/bookmarks.html +++ b/Base/res/ladybird/about-pages/bookmarks.html @@ -285,19 +285,19 @@