Skip to content

Commit 3e7faae

Browse files
kostyafarberawesomekling
authored andcommitted
Qt: Add box icon to line box debug menu action
1 parent 6e86ad6 commit 3e7faae

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

Base/res/icons/16x16/box.png

1.45 KB
Loading

Ladybird/Qt/BrowserWindow.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ BrowserWindow::BrowserWindow(Vector<URL::URL> const& initial_urls, IsPopupWindow
441441

442442
m_show_line_box_borders_action = new QAction("Show Line Box Borders", this);
443443
m_show_line_box_borders_action->setCheckable(true);
444+
m_show_line_box_borders_action->setIcon(load_icon_from_uri("resource://icons/16x16/box.png"sv));
444445
debug_menu->addAction(m_show_line_box_borders_action);
445446
QObject::connect(m_show_line_box_borders_action, &QAction::triggered, this, [this] {
446447
bool state = m_show_line_box_borders_action->isChecked();

Ladybird/cmake/ResourceFiles.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ list(TRANSFORM FONTS PREPEND "${LADYBIRD_SOURCE_DIR}/Base/res/fonts/")
66

77
set(16x16_ICONS
88
app-system-monitor.png
9+
box.png
910
audio-volume-high.png
1011
audio-volume-muted.png
1112
close-tab.png

0 commit comments

Comments
 (0)