src/toolsets/algorithmtoolset.cpp

changeset 1419
f7c53002a990
parent 1403
7a2d84112983
child 1428
ece049033adc
equal deleted inserted replaced
1418:503d4e7e27c9 1419:f7c53002a990
287 const double needle = ui.search->value(); 287 const double needle = ui.search->value();
288 const double replacement = ui.replacement->value(); 288 const double replacement = ui.replacement->value();
289 const bool replaceAllValues= ui.any->isChecked(); 289 const bool replaceAllValues= ui.any->isChecked();
290 const bool relative = ui.relative->isChecked(); 290 const bool relative = ui.relative->isChecked();
291 291
292 QList<Axis> selectedAxes; 292 QVector<Axis> selectedAxes;
293 int count = 0; 293 int count = 0;
294 294
295 if (ui.x->isChecked()) 295 if (ui.x->isChecked())
296 selectedAxes << X; 296 selectedAxes << X;
297 if (ui.y->isChecked()) 297 if (ui.y->isChecked())
331 ui.setupUi(&dialog); 331 ui.setupUi(&dialog);
332 332
333 if (not dialog.exec()) 333 if (not dialog.exec())
334 return; 334 return;
335 335
336 QList<Axis> sel; 336 QVector<Axis> sel;
337 337
338 if (ui.x->isChecked()) sel << X; 338 if (ui.x->isChecked()) sel << X;
339 if (ui.y->isChecked()) sel << Y; 339 if (ui.y->isChecked()) sel << Y;
340 if (ui.z->isChecked()) sel << Z; 340 if (ui.z->isChecked()) sel << Z;
341 341

mercurial