mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-19 19:14:42 +00:00
Changed the type of the MLRenderingColorPicker::setColor from reference to object. No need for ref for small Qt object.
This commit is contained in:
parent
1782f419db
commit
ec12c5fcfe
@ -884,7 +884,7 @@ void MLRenderingColorPicker::initGui()
|
||||
connect(_cbutton,SIGNAL(clicked()),this,SLOT(pickColor()));
|
||||
}
|
||||
|
||||
void MLRenderingColorPicker::setColor( QColor& def )
|
||||
void MLRenderingColorPicker::setColor( QColor def )
|
||||
{
|
||||
_act->setColor(def);
|
||||
updateColorInfo();
|
||||
@ -953,7 +953,7 @@ void MLRenderingBBoxColorPicker::initGui()
|
||||
connect(_cbutton,SIGNAL(clicked()),this,SLOT(pickColor()));
|
||||
}
|
||||
|
||||
void MLRenderingBBoxColorPicker::setColor( QColor& def )
|
||||
void MLRenderingBBoxColorPicker::setColor( QColor def )
|
||||
{
|
||||
_act->setColor(def);
|
||||
updateColorInfo();
|
||||
|
||||
@ -42,7 +42,7 @@ public:
|
||||
MLRenderingColorPicker(MLRenderingData::PRIMITIVE_MODALITY pr,QWidget *p);
|
||||
~MLRenderingColorPicker();
|
||||
|
||||
void setColor(QColor& def);
|
||||
void setColor(QColor def);
|
||||
//protected:
|
||||
// void paintEvent( QPaintEvent * );
|
||||
protected:
|
||||
@ -66,7 +66,7 @@ public:
|
||||
MLRenderingBBoxColorPicker(int meshid,QWidget* parent);
|
||||
~MLRenderingBBoxColorPicker();
|
||||
|
||||
void setColor(QColor& def);
|
||||
void setColor(QColor def);
|
||||
protected:
|
||||
void initGui();
|
||||
void updateColorInfo();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user