suyu/src/yuzu
Kyle Kienapfel 31c6ba7ecd tweak API usage in qt_web_browser.cpp
In testing future versions of Qt I forgot to compile with `YUZU_USE_QT_WEB_ENGINE`, so with that flag enabled there are two issues that cropped up.

1. yuzu currently uses setRequestInterceptor, added in Qt 5.6, deprecated in 5.13 with this explaination at https://doc.qt.io/qt-5/qwebengineprofile-obsolete.html
Interceptors installed with this method will call QWebEngineUrlRequestInterceptor::interceptRequest on the I/O thread. Therefore the user has to provide thread-safe interaction with the other user classes. For a duration of this call ui thread is blocked. Use setUrlRequestInterceptor instead.

2. QWebEngineSettings::globalSettings() pointer no longer exists in later versions of Qt

From what I can tell, QtNXWebEngineView doesn't need to set these globally,
when we make changes to settings(), QtWebEngineView::page() creates the page
object if it doesn't exist yet. I don't see the page object being destroyed
or otherwise replaced, except via destroying the QtNXWebEngineView object.

The globalSettings() make sense if Pages or Views objects are being
created outside of yuzu's control.

To test this I've compared what BrowseNX and Odyssey's Action guide do in mainline 1049 and this PR.

For now we're going to go up the chain to QWebEngineProfile::defaultProfile()->settings()
2022-06-21 17:48:17 -07:00
..
applets tweak API usage in qt_web_browser.cpp 2022-06-21 17:48:17 -07:00
configuration Merge pull request #8393 from lat9nq/default-vulkan 2022-06-11 00:06:59 -07:00
debugger general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
util general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
about_dialog.cpp about dialog: Fix the logo in a multiplatform way 2022-05-16 05:42:38 -07:00
about_dialog.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
aboutdialog.ui about dialog: Fix the logo in a multiplatform way 2022-05-16 05:42:38 -07:00
bootmanager.cpp Merge pull request #8318 from Docteh/cmake-qt56-entry 2022-06-10 23:09:49 -04:00
bootmanager.h Merge pull request #8318 from Docteh/cmake-qt56-entry 2022-06-10 23:09:49 -04:00
check_vulkan.cpp yuzu-qt: Make has_broken_vulkan only for crashes 2022-05-30 10:58:18 -04:00
check_vulkan.h yuzu-qt: Make has_broken_vulkan only for crashes 2022-05-30 10:58:18 -04:00
CMakeLists.txt Merge pull request #8353 from Docteh/msvc_report_runtime 2022-06-11 13:21:23 -04:00
compatdb.cpp yuzu qt: Remove global system instances from config, WaitTree, main 2021-10-07 13:50:13 -04:00
compatdb.h yuzu qt: Remove global system instances from config, WaitTree, main 2021-10-07 13:50:13 -04:00
compatdb.ui ui: Fix Game Compatibility list translations 2022-04-16 16:30:45 -07:00
compatibility_list.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
compatibility_list.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
discord.h Port web_service from Citra 2018-10-02 15:30:48 +02:00
discord_impl.cpp discord_impl: Remove global system instances 2021-10-07 13:50:13 -04:00
discord_impl.h discord_impl: Remove global system instances 2021-10-07 13:50:13 -04:00
game_list.cpp Merge pull request #8449 from Docteh/translate_placeholder 2022-06-11 13:19:18 -04:00
game_list.h UI: retranslate the game list placeholder 2022-06-10 20:15:52 -07:00
game_list_p.h ui: Fix Game Compatibility list translations 2022-04-16 16:30:45 -07:00
game_list_worker.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
game_list_worker.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
hotkeys.cpp yuzu: Reduce unused includes 2022-03-20 02:25:09 -04:00
hotkeys.h yuzu: Add controller hotkeys 2022-01-06 21:26:05 -06:00
Info.plist macOS: Update Info.plist 2018-01-13 23:11:51 +00:00
install_dialog.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
install_dialog.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
loading_screen.cpp Update some files with Qt 5.15.2 best practices in mind 2022-05-29 09:21:52 -07:00
loading_screen.h Update some files with Qt 5.15.2 best practices in mind 2022-05-29 09:21:52 -07:00
loading_screen.ui QT: Fix the loading screen 'H' switch logo to not glitch out 2019-02-05 18:24:15 -07:00
main.cpp Merge pull request #8353 from Docteh/msvc_report_runtime 2022-06-11 13:21:23 -04:00
main.h ui: Status bars dock button becomes dock/undock button 2022-06-01 17:22:53 -07:00
main.ui yuzu: Allow to open and remove the amiibo 2022-02-08 10:08:04 -06:00
uisettings.cpp ui: Set Link Color when setting theme 2022-04-11 00:00:29 -07:00
uisettings.h yuzu-qt: Make has_broken_vulkan only for crashes 2022-05-30 10:58:18 -04:00
yuzu.qrc yuzu: Various frontend improvements to avoid crashes and improve experience on Linux. 2021-02-14 00:20:41 -08:00
yuzu.rc Fix: fatal error CVT1100 when compiling manifest file 2020-06-21 03:11:23 +02:00