mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-09 18:52:46 +00:00
Improve replacement for qDegreesToRadians
This is for Qt 5.0.X compatibility.
This commit is contained in:
parent
b50fad3579
commit
c24233e3f1
@ -33,7 +33,7 @@
|
|||||||
#if QT_VERSION >= 0x050100
|
#if QT_VERSION >= 0x050100
|
||||||
#include <QtMath>
|
#include <QtMath>
|
||||||
#else
|
#else
|
||||||
#define qDegreesToRadians(degree) (degree * (M_PI / 180))
|
#define qDegreesToRadians(degree) (degree) * (M_PI / 180)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
Loading…
Reference in New Issue
Block a user