UI/Qt: Move the View Source action back to the Inspect menu

Accidental copy/paste from e6b32bbbbf6c3b80649e355c2ad7f6ad87430fc3.
This commit is contained in:
Timothy Flynn 2025-09-13 08:48:51 -04:00 committed by Tim Flynn
parent 3d1d055e27
commit dbce62bc0d

View file

@ -209,7 +209,7 @@ BrowserWindow::BrowserWindow(Vector<URL::URL> const& initial_urls, IsPopupWindow
auto* inspect_menu = m_hamburger_menu->addMenu("&Inspect");
menuBar()->addMenu(inspect_menu);
edit_menu->addAction(create_application_action(*this, Application::the().view_source_action()));
inspect_menu->addAction(create_application_action(*this, Application::the().view_source_action()));
m_enable_devtools_action = new QAction("Enable &DevTools", this);
m_enable_devtools_action->setIcon(load_icon_from_uri("resource://icons/browser/dom-tree.png"sv));