mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-16 17:44:36 +00:00
move tmp variable in a more appropriate scope
This commit is contained in:
parent
a547eb08bf
commit
360f52946a
@ -132,6 +132,7 @@ SettingDialog::SettingDialog( RichParameter* currentPar, RichParameter* defaultP
|
||||
dialoglayout->addWidget(closebut,1,4);
|
||||
|
||||
RichParameterCopyConstructor cp;
|
||||
RichParameterSet tmpParSet;
|
||||
curPar->accept(cp);
|
||||
tmppar = cp.lastCreated;
|
||||
tmpParSet.addParam(tmppar);
|
||||
|
||||
@ -49,7 +49,6 @@ private:
|
||||
RichParameter* curPar;
|
||||
RichParameter* defPar;
|
||||
RichParameter* tmppar;
|
||||
RichParameterSet tmpParSet;
|
||||
QPushButton* savebut;
|
||||
QPushButton* applybut;
|
||||
QPushButton* resetbut;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user