diff --git a/src/ui/control/controlworker.cpp b/src/ui/control/controlworker.cpp index 2189a1e4..eedad1b5 100644 --- a/src/ui/control/controlworker.cpp +++ b/src/ui/control/controlworker.cpp @@ -42,7 +42,7 @@ bool buildArgsData(QByteArray &buffer, const QVariantList &args, bool &compresse } compressed = (data.size() > 128); - buffer = compressed ? qCompress(std::move(data)) : data; + buffer = compressed ? qCompress(data) : std::move(data); return true; } diff --git a/src/ui/util/service/servicelistmonitor.cpp b/src/ui/util/service/servicelistmonitor.cpp index 808f072c..c54c48c7 100644 --- a/src/ui/util/service/servicelistmonitor.cpp +++ b/src/ui/util/service/servicelistmonitor.cpp @@ -54,8 +54,7 @@ void CALLBACK managerNotifyCallback(PVOID param) } QMetaObject::invokeMethod( - monitor, [=] { monitor->onManagerNotify(std::move(createdServiceNames)); }, - Qt::QueuedConnection); + monitor, [=] { monitor->onManagerNotify(createdServiceNames); }, Qt::QueuedConnection); } }