AngleSpinBox.cpp   AngleSpinBox.cpp 
skipping to change at line 250 skipping to change at line 250
} }
QRegExp dmsRx("^\\s*(\\d+)\\s*[d\\x00b0](\\s*(\\d+(\\.\\d*)?)\\s*[m' ](\\s*(\\d+(\\.\\d*)?)\\s*[s\"]\\s*)?)?$", QRegExp dmsRx("^\\s*(\\d+)\\s*[d\\x00b0](\\s*(\\d+(\\.\\d*)?)\\s*[m' ](\\s*(\\d+(\\.\\d*)?)\\s*[s\"]\\s*)?)?$",
Qt::CaseInsensitive); Qt::CaseInsensitive);
QRegExp hmsRx("^\\s*(\\d+)\\s*h(\\s*(\\d+(\\.\\d*)?)\\s*[m'](\\s*(\\ d+(\\.\\d*)?)\\s*[s\"]\\s*)?)?$", QRegExp hmsRx("^\\s*(\\d+)\\s*h(\\s*(\\d+(\\.\\d*)?)\\s*[m'](\\s*(\\ d+(\\.\\d*)?)\\s*[s\"]\\s*)?)?$",
Qt::CaseInsensitive); Qt::CaseInsensitive);
QRegExp decRx("^(\\d+(\\.\\d*)?)(\\s*[\\x00b0]\\s*)?$"); QRegExp decRx("^(\\d+(\\.\\d*)?)(\\s*[\\x00b0]\\s*)?$");
QRegExp badRx("[^hdms0-9 \\x00b0'\"\\.]", Qt::CaseInsensitive); QRegExp badRx("[^hdms0-9 \\x00b0'\"\\.]", Qt::CaseInsensitive);
QValidator::State dummy; QValidator::State dummy;
if (state == NULL) if (state == Q_NULLPTR)
{ {
state = &dummy; state = &dummy;
} }
if (dmsRx.exactMatch(input)) if (dmsRx.exactMatch(input))
{ {
double degree = dmsRx.capturedTexts().at(1).toDouble(); double degree = dmsRx.capturedTexts().at(1).toDouble();
double minute = dmsRx.capturedTexts().at(3).toDouble(); double minute = dmsRx.capturedTexts().at(3).toDouble();
double second = dmsRx.capturedTexts().at(6).toDouble(); double second = dmsRx.capturedTexts().at(6).toDouble();
if (degree > 360.0 || degree < -360.0) if (degree > 360.0 || degree < -360.0)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/