mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-01 06:32:51 +02:00
e0b4877187
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
21 lines
701 B
Diff
21 lines
701 B
Diff
diff -up adwaita-qt-0.97/style/adwaitahelper.h.orig adwaita-qt-0.97/style/adwaitahelper.h
|
|
--- adwaita-qt-0.97/style/adwaitahelper.h.orig 2017-02-04 20:20:45.831715084 -0600
|
|
+++ adwaita-qt-0.97/style/adwaitahelper.h 2017-02-04 20:21:30.195712810 -0600
|
|
@@ -33,7 +33,7 @@
|
|
#include <xcb/xcb.h>
|
|
#endif
|
|
|
|
-#include <math.h>
|
|
+#include <cmath>
|
|
|
|
namespace Adwaita
|
|
{
|
|
@@ -69,7 +69,7 @@ namespace Adwaita
|
|
|
|
if (bias <= 0.0) return c1;
|
|
if (bias >= 1.0) return c2;
|
|
- if (isnan(bias)) return c1;
|
|
+ if (std::isnan(bias)) return c1;
|
|
|
|
qreal r = mixQreal(c1.redF(), c2.redF(), bias);
|
|
qreal g = mixQreal(c1.greenF(), c2.greenF(), bias);
|