mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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
|
||||
#include <QtMath>
|
||||
#else
|
||||
#define qDegreesToRadians(degree) (degree * (M_PI / 180))
|
||||
#define qDegreesToRadians(degree) (degree) * (M_PI / 180)
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
Loading…
Reference in New Issue
Block a user