diff options
author | jls47 <lukeschaefer@gmail.com> | 2021-07-18 02:44:20 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-07-27 17:31:12 +0200 |
commit | ef29ed75b0f849b8eb5beeac3064557762e0c82b (patch) | |
tree | 747d5972ac99117cbecfb3ff9816ff5c4c9e28b9 | |
parent | qt_web_browser: Focus on the first link element (diff) | |
download | yuzu-ef29ed75b0f849b8eb5beeac3064557762e0c82b.tar yuzu-ef29ed75b0f849b8eb5beeac3064557762e0c82b.tar.gz yuzu-ef29ed75b0f849b8eb5beeac3064557762e0c82b.tar.bz2 yuzu-ef29ed75b0f849b8eb5beeac3064557762e0c82b.tar.lz yuzu-ef29ed75b0f849b8eb5beeac3064557762e0c82b.tar.xz yuzu-ef29ed75b0f849b8eb5beeac3064557762e0c82b.tar.zst yuzu-ef29ed75b0f849b8eb5beeac3064557762e0c82b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/applets/qt_web_browser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/applets/qt_web_browser.cpp b/src/yuzu/applets/qt_web_browser.cpp index cc1a42f74..652d99570 100644 --- a/src/yuzu/applets/qt_web_browser.cpp +++ b/src/yuzu/applets/qt_web_browser.cpp @@ -210,7 +210,7 @@ void QtNXWebEngineView::HandleWindowFooterButtonPressedOnce() { if (input_interpreter->IsButtonPressedOnce(button)) { page()->runJavaScript( QStringLiteral("yuzu_key_callbacks[%1] == null;").arg(static_cast<u8>(button)), - [&](const QVariant& variant) { + [this, button](const QVariant& variant) { if (variant.toBool()) { switch (button) { case HIDButton::A: |