summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/functionconfig.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-19 11:11:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-19 11:12:04 +0200
commit84044ec3f6fe9ea90f3601b880d96be989fb7d79 (patch)
tree7b5b53cc0ace4b701a8f7a37289f7d8827e3d81f /qfunctionconfigurator/functionconfig.cpp
parent64a6892e8713c69e1f5ade929ec8035146de3f56 (diff)
fix osx, app bundle now builds
Diffstat (limited to 'qfunctionconfigurator/functionconfig.cpp')
-rw-r--r--qfunctionconfigurator/functionconfig.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qfunctionconfigurator/functionconfig.cpp b/qfunctionconfigurator/functionconfig.cpp
index 7edbe0ef..264097ab 100644
--- a/qfunctionconfigurator/functionconfig.cpp
+++ b/qfunctionconfigurator/functionconfig.cpp
@@ -8,6 +8,7 @@
#include <QSettings>
#include <QPixmap>
#include <algorithm>
+#include <cmath>
void Map::setTrackingActive(bool blnActive)
{
@@ -43,7 +44,7 @@ bool Map::getLastPoint(QPointF& point ) {
float Map::getValueInternal(int x) {
float sign = x < 0 ? -1 : 1;
- x = std::abs(x);
+ x = abs(x);
float ret;
int sz = cur.data.size();
if (sz == 0)