summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r--src/gui/widgets/setupitem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp
index 8d6296d52..e4b40f9be 100644
--- a/src/gui/widgets/setupitem.cpp
+++ b/src/gui/widgets/setupitem.cpp
@@ -44,6 +44,7 @@
#include "utils/base64.h"
#include "utils/gettext.h"
+#include "utils/stdmove.h"
#include "utils/mathutils.h"
#include "debug.h"
@@ -324,7 +325,7 @@ void SetupItemTextField::save()
std::string normalValue = mValue;
mValue = encodeBase64String(mValue);
SetupItem::save();
- mValue = normalValue;
+ mValue = STD_MOVE(normalValue);
}
else
{