From 2b3c13eb1de8f003bf3a4aa31ff41be2b5f6d7e5 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 5 Mar 2016 18:31:16 +0200 Subject: [PATCH] Write warnings to log file. --HG-- branch : feature --- src/libs/vgeometry/vsplinepoint_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vgeometry/vsplinepoint_p.h b/src/libs/vgeometry/vsplinepoint_p.h index 596296733..fd1b34e1f 100644 --- a/src/libs/vgeometry/vsplinepoint_p.h +++ b/src/libs/vgeometry/vsplinepoint_p.h @@ -59,7 +59,7 @@ public: { 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->angle2 = angle1 + 180; } @@ -129,7 +129,7 @@ public: { 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->angle2F = QString().number(angle2); }