Fixup 52ea3679: make macro safer.

Taking advice from José.
This commit is contained in:
Jean-Marc Lasgouttes 2022-11-25 00:18:07 +01:00
parent e829576bb7
commit 4c1a75a45c

View File

@ -33,7 +33,7 @@
#if QT_VERSION >= 0x050100
#include <QtMath>
#else
#define qDegreesToRadians(degree) (degree * (M_PI / 180))
#define qDegreesToRadians(degree) (degree) * (M_PI / 180)
#endif
using namespace std;