From 4130b07f88a2c23118503dbdad28fa8ef1fb8ccb Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Mon, 4 Mar 2019 18:24:16 -0500 Subject: web_browser: Add shortcut to Enter key to exit applet Addresses issues where a user in fullscreen could not exit some web applets without leaving fullscreen. --- src/yuzu/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/yuzu/main.cpp') diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 5ab7896d4..619cbd2c2 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -339,6 +339,11 @@ void GMainWindow::WebBrowserOpenPage(std::string_view filename, std::string_view .arg(QString::fromStdString(std::to_string(key_code)))); }; + QMessageBox::information( + this, tr("Exit"), + tr("To exit the web application, use the game provided controls to select exit, select the " + "'Exit Web Applet' option in the menu bar, or press the 'Enter' key.")); + bool running_exit_check = false; while (!finished) { QApplication::processEvents(); -- cgit v1.2.3