Skip to content

Commit b4899f3

Browse files
committed
Work on full screen
1 parent e87423b commit b4899f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

BrowserWindow.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ BrowserWindow::BrowserWindow(Core::EventLoop& event_loop)
172172
full_screen_action->setShortcut(QKeySequence(QKeySequence::FullScreen)); // "F11"
173173
full_screen_action->setEnabled(false);
174174
view_menu->addAction(full_screen_action);
175+
QObject::connect(full_screen_action, &QAction::triggered, this, [this] {
176+
showFullScreen();
177+
});
178+
175179

176180
auto* go_menu = menuBar()->addMenu("&Go");
177181

0 commit comments

Comments
 (0)