Write warnings to log file.
--HG-- branch : feature
This commit is contained in:
parent
2e6be9119c
commit
2b3c13eb1d
|
@ -59,7 +59,7 @@ public:
|
||||||
{
|
{
|
||||||
if (not qFuzzyCompare(qAbs(angle1-angle2), 180) || qFuzzyIsNull(qAbs(angle1-angle2)))
|
if (not qFuzzyCompare(qAbs(angle1-angle2), 180) || qFuzzyIsNull(qAbs(angle1-angle2)))
|
||||||
{
|
{
|
||||||
qWarning()<<"angle1 and angle2 are not equal.";
|
qDebug()<<"angle1 and angle2 are not equal.";
|
||||||
this->angle1 = angle1;
|
this->angle1 = angle1;
|
||||||
this->angle2 = angle1 + 180;
|
this->angle2 = angle1 + 180;
|
||||||
}
|
}
|
||||||
|
@ -129,7 +129,7 @@ public:
|
||||||
{
|
{
|
||||||
if (not qFuzzyCompare(qAbs(angle1-angle2), 180) || qFuzzyIsNull(qAbs(angle1-angle2)))
|
if (not qFuzzyCompare(qAbs(angle1-angle2), 180) || qFuzzyIsNull(qAbs(angle1-angle2)))
|
||||||
{
|
{
|
||||||
qWarning()<<"angle1 and angle2 are not equal.";
|
qDebug()<<"angle1 and angle2 are not equal.";
|
||||||
this->angle2 = angle1 + 180;
|
this->angle2 = angle1 + 180;
|
||||||
this->angle2F = QString().number(angle2);
|
this->angle2F = QString().number(angle2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user