mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:57:57 +00:00
UI: Fix Coverity warnings
This commit is contained in:
parent
6201f65d02
commit
19f86b53e0
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user