From 32c7db68e0c27649f47ad67336e21f722f581d98 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 7 Nov 2016 15:04:00 +0200 Subject: [PATCH] Resolved issue #504. Suppress message about absolute measurement path. I decided to completely eliminate warning strings because they do not change anything. --HG-- branch : develop --- src/libs/vmisc/def.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libs/vmisc/def.cpp b/src/libs/vmisc/def.cpp index 515252d6e..a21e9e2eb 100644 --- a/src/libs/vmisc/def.cpp +++ b/src/libs/vmisc/def.cpp @@ -1794,7 +1794,6 @@ QString RelativeMPath(const QString &patternPath, const QString &absoluteMPath) if (QFileInfo(absoluteMPath).isRelative()) { - qWarning() << QApplication::tr("The path to the measurments is already relative."); return absoluteMPath; } @@ -1811,7 +1810,6 @@ QString AbsoluteMPath(const QString &patternPath, const QString &relativeMPath) if (QFileInfo(relativeMPath).isAbsolute()) { - qWarning() << QApplication::tr("The path to the measurments is already absolute."); return relativeMPath; }