diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-02-26 13:27:24 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-02-26 13:54:52 +0000 |
commit | ad2d4e8386742df9985ca918b6fea6c7603e70bf (patch) | |
tree | e8817af8a394d369a7b7b26403f4e05621d37fa7 | |
parent | 01d5c773894604fa840247f23a3388cb5cf599d9 (diff) |
Remove unused private definitions and function
Remove two definitions and one function not used anywhere in the Qt
source code.
Change-Id: I275e7c7a2d52dd4ac90cc9e6c782cbdfc14791f3
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
-rw-r--r-- | src/gui/painting/qmath_p.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/painting/qmath_p.h b/src/gui/painting/qmath_p.h index 9cb64a46cb..13f82a82bb 100644 --- a/src/gui/painting/qmath_p.h +++ b/src/gui/painting/qmath_p.h @@ -50,15 +50,8 @@ QT_BEGIN_NAMESPACE static const qreal Q_PI = qreal(M_PI); // pi -static const qreal Q_2PI = qreal(2 * M_PI); // 2*pi -static const qreal Q_PI2 = qreal(M_PI_2); // pi/2 static const qreal Q_MM_PER_INCH = 25.4; -inline int qIntSqrtInt(int v) -{ - return static_cast<int>(qSqrt(static_cast<qreal>(v))); -} - QT_END_NAMESPACE #endif // QMATH_P_H |