Skip to content

Commit

Permalink
Apply suggestion from @lrineau
Browse files Browse the repository at this point in the history
  • Loading branch information
MaelRL committed Jun 21, 2023
1 parent 5c8acef commit 96ce2a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 96ce2a2

Please sign in to comment.