mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-12 17:30:38 +00:00
Ladybird/Qt: Add icon for "Dump Session History Tree" action
This commit is contained in:
parent
882904b4bf
commit
78af6ca971
Notes:
sideshowbarker
2024-07-17 03:14:39 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/78af6ca971 Pull-request: https://github.com/SerenityOS/serenity/pull/23952 Reviewed-by: https://github.com/trflynn89
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ BrowserWindow::BrowserWindow(Vector<URL::URL> const& initial_urls, WebView::Cook
|
|||
auto* debug_menu = menuBar()->addMenu("&Debug");
|
||||
|
||||
auto* dump_session_history_tree_action = new QAction("Dump Session History Tree", this);
|
||||
dump_session_history_tree_action->setIcon(load_icon_from_uri("resource://icons/16x16/history.png"sv));
|
||||
debug_menu->addAction(dump_session_history_tree_action);
|
||||
QObject::connect(dump_session_history_tree_action, &QAction::triggered, this, [this] {
|
||||
debug_request("dump-session-history");
|
||||
|
|
Loading…
Reference in a new issue