diff options
| author | bunnei <bunneidev@gmail.com> | 2021-04-30 14:48:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-30 14:48:32 -0700 |
| commit | fa3ffff8ded9ca071908701c911142001cc62f73 (patch) | |
| tree | 1db00dd99592d3cfb3807606b1d3edbf72a4e1ff /src/yuzu/main.h | |
| parent | aab57b79754e268c142b8ad7c5db11affe0a4cca (diff) | |
| parent | 0af182baa2f35d91b8dfaf0b5a8fef06b77dd03a (diff) | |
Merge pull request #6257 from Morph1984/fix-use-after-free-webapplet
applets/web: Fix a use-after-free when passing in the URL string
Diffstat (limited to 'src/yuzu/main.h')
| -rw-r--r-- | src/yuzu/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h index 7f1e50a5b..98a608fce 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -159,7 +159,7 @@ public slots: void SoftwareKeyboardExit(); void ErrorDisplayDisplayError(QString error_code, QString error_text); void ProfileSelectorSelectProfile(); - void WebBrowserOpenWebPage(std::string_view main_url, std::string_view additional_args, + void WebBrowserOpenWebPage(const std::string& main_url, const std::string& additional_args, bool is_local); void OnAppFocusStateChanged(Qt::ApplicationState state); |
