Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy!
This commit is contained in:
committed by
wmayer
parent
216106e407
commit
317bcd59c9
@@ -93,8 +93,7 @@ bool PoissonWidget::accept()
|
||||
;
|
||||
QString command = QString::fromLatin1("%1.addObject(\"Mesh::Feature\", \"Poisson\").Mesh = "
|
||||
"ReverseEngineering.poissonReconstruction(%2)")
|
||||
.arg(document)
|
||||
.arg(argument)
|
||||
.arg(document, argument)
|
||||
;
|
||||
|
||||
Gui::WaitCursor wc;
|
||||
|
||||
Reference in New Issue
Block a user