RequestServer: Remove "dump connection info" mechanism and UI

This is not relevant anymore when we use CURL.
This commit is contained in:
Andreas Kling
2024-09-06 07:35:18 +02:00
committed by Andreas Kling
parent e483bb70f0
commit 6d91c42214
9 changed files with 0 additions and 78 deletions

View File

@@ -431,11 +431,6 @@ BrowserWindow::BrowserWindow(Vector<URL::URL> const& initial_urls, IsPopupWindow
debug_request("dump-local-storage");
});
auto* dump_connection_info = new QAction("Dump Co&nnection Info", this);
dump_connection_info->setIcon(load_icon_from_uri("resource://icons/16x16/network.png"sv));
debug_menu->addAction(dump_connection_info);
QObject::connect(dump_connection_info, &QAction::triggered, this, &BrowserWindow::dump_connection_info);
debug_menu->addSeparator();
m_show_line_box_borders_action = new QAction("Show Line Box Borders", this);
@@ -1239,10 +1234,4 @@ void BrowserWindow::closeEvent(QCloseEvent* event)
QMainWindow::closeEvent(event);
}
void BrowserWindow::dump_connection_info()
{
if (auto& application = static_cast<Application&>(WebView::Application::the()); application.request_server_client)
application.request_server_client->dump_connection_info();
}
}