From d0ea31c167cdaf5f2ab5d3d6bebdfed1e15213f0 Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Tue, 17 Sep 2024 15:54:31 +0200 Subject: [PATCH] fix background color picker dialog, fix #1531 --- src/meshlab/ml_render_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshlab/ml_render_gui.cpp b/src/meshlab/ml_render_gui.cpp index 8a575e6d7e..16f5563fa5 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);