summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r--src/input/inputmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index 13298f2e3..fa42ffe32 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -55,6 +55,7 @@
#include "utils/checkutils.h"
#include "utils/gettext.h"
+#include "utils/stdmove.h"
#include "utils/timer.h"
#include "gui/focushandler.h"
@@ -468,7 +469,7 @@ void InputManager::updateKeyString(const InputFunction &ki,
}
else
{
- mKeyStr[actionIdx] = keyStr;
+ mKeyStr[actionIdx] = STD_MOVE(keyStr);
}
}