diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-20 17:30:51 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-20 17:34:19 +0100 |
commit | 3fa2b218acefe9ba91378115d3856cd4c6b665e0 (patch) | |
tree | ce325a3e63ac9e0cf8e0b1b10dc217fd9370b152 | |
parent | yuzu/applets/software_keyboard: Make slots private functions (diff) | |
download | yuzu-3fa2b218acefe9ba91378115d3856cd4c6b665e0.tar yuzu-3fa2b218acefe9ba91378115d3856cd4c6b665e0.tar.gz yuzu-3fa2b218acefe9ba91378115d3856cd4c6b665e0.tar.bz2 yuzu-3fa2b218acefe9ba91378115d3856cd4c6b665e0.tar.lz yuzu-3fa2b218acefe9ba91378115d3856cd4c6b665e0.tar.xz yuzu-3fa2b218acefe9ba91378115d3856cd4c6b665e0.tar.zst yuzu-3fa2b218acefe9ba91378115d3856cd4c6b665e0.zip |
-rw-r--r-- | src/yuzu/applets/software_keyboard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/applets/software_keyboard.cpp b/src/yuzu/applets/software_keyboard.cpp index efefb1f99..338d91426 100644 --- a/src/yuzu/applets/software_keyboard.cpp +++ b/src/yuzu/applets/software_keyboard.cpp @@ -129,13 +129,13 @@ QtSoftwareKeyboard::~QtSoftwareKeyboard() = default; void QtSoftwareKeyboard::RequestText(std::function<void(std::optional<std::u16string>)> out, Core::Frontend::SoftwareKeyboardParameters parameters) const { - text_output = out; + text_output = std::move(out); emit MainWindowGetText(parameters); } void QtSoftwareKeyboard::SendTextCheckDialog(std::u16string error_message, std::function<void()> finished_check) const { - this->finished_check = finished_check; + this->finished_check = std::move(finished_check); emit MainWindowTextCheckDialog(error_message); } |