Corrected mismatched connect between signal and slot when getting shot from current trackball

This commit is contained in:
Paolo Cignoni cignoni 2011-03-18 10:50:21 +00:00
parent 4d1654ac30
commit 048654d6e1
2 changed files with 3 additions and 3 deletions

View File

@ -614,7 +614,7 @@ ShotfWidget::ShotfWidget(QWidget *p, RichShotf* rpf, QWidget *gla_curr): MeshLab
QHBoxLayout* lay = new QHBoxLayout(p);
this->setValue(paramName,rp->val->getShotf());
this->setShotValue(paramName,rp->val->getShotf());
if(gla_curr) // if we have a connection to the current glarea we can setup the additional button for getting the current view direction.
{
getShotButton = new QPushButton("Get shot",p);
@ -677,7 +677,7 @@ void ShotfWidget::getShot()
ShotfWidget::~ShotfWidget() {}
void ShotfWidget::setValue(QString name,Shotf newVal)
void ShotfWidget::setShotValue(QString name,Shotf newVal)
{
if(name==paramName)
{

View File

@ -284,7 +284,7 @@ public:
public slots:
void getShot();
void setValue(QString name, vcg::Shotf val);
void setShotValue(QString name, vcg::Shotf val);
signals:
void askRasterShot(QString);
void askMeshShot(QString);