diff options
Diffstat (limited to 'src/yuzu/applets/qt_web_browser.cpp')
| -rw-r--r-- | src/yuzu/applets/qt_web_browser.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/yuzu/applets/qt_web_browser.cpp b/src/yuzu/applets/qt_web_browser.cpp index a287ea16df..cab8ef190e 100644 --- a/src/yuzu/applets/qt_web_browser.cpp +++ b/src/yuzu/applets/qt_web_browser.cpp @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later @@ -18,7 +21,7 @@ #endif #include "yuzu/applets/qt_web_browser.h" -#include "yuzu/main.h" +#include "yuzu/main_window.h" #ifdef YUZU_USE_QT_WEB_ENGINE @@ -391,14 +394,14 @@ void QtNXWebEngineView::FocusFirstLinkElement() { #endif -QtWebBrowser::QtWebBrowser(GMainWindow& main_window) { +QtWebBrowser::QtWebBrowser(MainWindow& main_window) { connect(this, &QtWebBrowser::MainWindowOpenWebPage, &main_window, - &GMainWindow::WebBrowserOpenWebPage, Qt::QueuedConnection); + &MainWindow::WebBrowserOpenWebPage, Qt::QueuedConnection); connect(this, &QtWebBrowser::MainWindowRequestExit, &main_window, - &GMainWindow::WebBrowserRequestExit, Qt::QueuedConnection); - connect(&main_window, &GMainWindow::WebBrowserExtractOfflineRomFS, this, + &MainWindow::WebBrowserRequestExit, Qt::QueuedConnection); + connect(&main_window, &MainWindow::WebBrowserExtractOfflineRomFS, this, &QtWebBrowser::MainWindowExtractOfflineRomFS, Qt::QueuedConnection); - connect(&main_window, &GMainWindow::WebBrowserClosed, this, + connect(&main_window, &MainWindow::WebBrowserClosed, this, &QtWebBrowser::MainWindowWebBrowserClosed, Qt::QueuedConnection); } |
