mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Qt: Add box icon to line box debug menu action
This commit is contained in:
committed by
Andreas Kling
parent
6e86ad65e9
commit
3e7faae647
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user