Missing include, fixing missing M_PI

Using the little "PI = std::acos(-1);" trick to avoid include issues
This commit is contained in:
Klaus Basan
2018-04-04 19:48:58 +02:00
committed by Roland Winklmeier
parent da94b6c0df
commit 75c481228f
3 changed files with 18 additions and 16 deletions

View File

@@ -27,6 +27,7 @@
#include <QMetaType>
#include <QString>
#include <QtGlobal>
#include <QtMath>
#include <cstddef>
//
@@ -214,7 +215,6 @@ namespace BlackMisc
(void)QT_TRANSLATE_NOOP("CMeasurementUnit", "-%L1 %L2 %L3");
}
//! Sexagesimal degree (degrees, minutes, decimal minutes)
static CAngleUnit sexagesimalDegMin()
{