QString sa;
if (update)
- sa = QString("%1").arg(RS_Math::rad2deg(action->getAngle()));
+ sa = QString("%1").arg(Math::rad2deg(action->getAngle()));
else
{
settings.beginGroup("Modify");
sa = settings.value("MoveRotate", "30").toString();
settings.endGroup();
- action->setAngle(RS_Math::deg2rad(sa.toDouble()));
+ action->setAngle(Math::deg2rad(sa.toDouble()));
}
leAngle->setText(sa);
}
else
{
- RS_DEBUG->print(RS_Debug::D_ERROR, "CircleOptions::setAction: wrong action type");
+ DEBUG->print(Debug::D_ERROR, "CircleOptions::setAction: wrong action type");
action = NULL;
}
}
void MoveRotateOptions::updateAngle(const QString & a)
{
if (action != NULL)
- action->setAngle(RS_Math::deg2rad(RS_Math::eval(a)));
+ action->setAngle(Math::deg2rad(Math::eval(a)));
}