mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
Qt: Add box icon to line box debug menu action
This commit is contained in:
parent
6e86ad65e9
commit
3e7faae647
Notes:
github-actions[bot]
2024-10-26 15:51:54 +00:00
Author: https://github.com/kostyafarber Commit: https://github.com/LadybirdBrowser/ladybird/commit/3e7faae6472 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1969
3 changed files with 2 additions and 0 deletions
BIN
Base/res/icons/16x16/box.png
Normal file
BIN
Base/res/icons/16x16/box.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
|
@ -441,6 +441,7 @@ BrowserWindow::BrowserWindow(Vector<URL::URL> const& initial_urls, IsPopupWindow
|
|||
|
||||
m_show_line_box_borders_action = new QAction("Show Line Box Borders", this);
|
||||
m_show_line_box_borders_action->setCheckable(true);
|
||||
m_show_line_box_borders_action->setIcon(load_icon_from_uri("resource://icons/16x16/box.png"sv));
|
||||
debug_menu->addAction(m_show_line_box_borders_action);
|
||||
QObject::connect(m_show_line_box_borders_action, &QAction::triggered, this, [this] {
|
||||
bool state = m_show_line_box_borders_action->isChecked();
|
||||
|
|
|
@ -6,6 +6,7 @@ list(TRANSFORM FONTS PREPEND "${LADYBIRD_SOURCE_DIR}/Base/res/fonts/")
|
|||
|
||||
set(16x16_ICONS
|
||||
app-system-monitor.png
|
||||
box.png
|
||||
audio-volume-high.png
|
||||
audio-volume-muted.png
|
||||
close-tab.png
|
||||
|
|
Loading…
Reference in a new issue