diff --git a/src/meshlab/ml_render_gui.cpp b/src/meshlab/ml_render_gui.cpp index 8a575e6d7..16f5563fa 100644 --- a/src/meshlab/ml_render_gui.cpp +++ b/src/meshlab/ml_render_gui.cpp @@ -1136,7 +1136,7 @@ void MLRenderingColorPicker::pickColor() return; const QColor initialCol = vcg::ColorConverter::ToQColor(_act->getColor()); - const QColor newCol = QColorDialog::getColor(initialCol,this); + const QColor newCol = QColorDialog::getColor(initialCol); if (newCol.isValid()) { _act->setColor(newCol);