Apply suggestion from @lrineau

This commit is contained in:
Mael Rouxel-Labbé 2023-06-21 14:36:17 +02:00
parent 5c8acef035
commit 96ce2a28af
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ public Q_SLOTS:
// This is for the message box and thread interruption
void wrapping_done(Wrapper_thread* wrapper_thread)
{
Scene_surface_mesh_item* wrap_item = new Scene_surface_mesh_item(wrapper_thread->wrap);
Scene_surface_mesh_item* wrap_item = new Scene_surface_mesh_item(std::move(wrapper_thread->wrap));
wrap_item->setName(tr("Wrap with alpha %2 offset %3").arg(wrapper_thread->alpha)
.arg(wrapper_thread->offset));
wrap_item->setColor(Qt::gray);