diff options
author | Alessandro Portale <[email protected]> | 2018-01-09 17:06:08 +0100 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2018-01-09 18:48:01 +0000 |
commit | 8dca82bd9c73239103de46d02f4b4c9dda2fff6a (patch) | |
tree | 87439b67289aee7c731c1f6023e5fceeb680ea16 /src/libs/modelinglib | |
parent | 58ae456f4be17ffcb749143d47388207fb2f7ead (diff) |
Modelinglib: Fix missing M_PI on msvc
error: C2065: 'M_PI': undeclared identifier
QtMath makes it work on different compilers.
Change-Id: I012f4a5f6d3e2c9c8680b606a92f4898618a9dae
Reviewed-by: Jochen Becher <[email protected]>
Reviewed-by: Orgad Shaneh <[email protected]>
Diffstat (limited to 'src/libs/modelinglib')
-rw-r--r-- | src/libs/modelinglib/qmt/tasks/diagramscenecontroller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/modelinglib/qmt/tasks/diagramscenecontroller.cpp b/src/libs/modelinglib/qmt/tasks/diagramscenecontroller.cpp index 5794c4d9bbc..e512b98d533 100644 --- a/src/libs/modelinglib/qmt/tasks/diagramscenecontroller.cpp +++ b/src/libs/modelinglib/qmt/tasks/diagramscenecontroller.cpp @@ -68,7 +68,7 @@ #include <QQueue> #include <QPair> -#include <cmath> +#include <QtMath> namespace qmt { |