diff options
author | Lioncash <mathew1800@gmail.com> | 2019-01-17 17:10:31 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-01-17 17:10:35 +0100 |
commit | 66978a772da04e438571cdd98529c736663817ee (patch) | |
tree | f0cf7a1c75215f1d1f84e4a07936d146ef9ba920 | |
parent | yuzu/web_browser: Make slot functions private (diff) | |
download | yuzu-66978a772da04e438571cdd98529c736663817ee.tar yuzu-66978a772da04e438571cdd98529c736663817ee.tar.gz yuzu-66978a772da04e438571cdd98529c736663817ee.tar.bz2 yuzu-66978a772da04e438571cdd98529c736663817ee.tar.lz yuzu-66978a772da04e438571cdd98529c736663817ee.tar.xz yuzu-66978a772da04e438571cdd98529c736663817ee.tar.zst yuzu-66978a772da04e438571cdd98529c736663817ee.zip |
-rw-r--r-- | src/yuzu/applets/web_browser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/applets/web_browser.cpp b/src/yuzu/applets/web_browser.cpp index c59b7ade1..b801d38fe 100644 --- a/src/yuzu/applets/web_browser.cpp +++ b/src/yuzu/applets/web_browser.cpp @@ -87,8 +87,8 @@ QtWebBrowser::~QtWebBrowser() = default; void QtWebBrowser::OpenPage(std::string_view url, std::function<void()> unpack_romfs_callback, std::function<void()> finished_callback) const { - this->unpack_romfs_callback = unpack_romfs_callback; - this->finished_callback = finished_callback; + this->unpack_romfs_callback = std::move(unpack_romfs_callback); + this->finished_callback = std::move(finished_callback); const auto index = url.find('?'); if (index == std::string::npos) { |