From 041e9dd8f2cb4a6f4a236ba33c74b1af674038a1 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 21 Dec 2014 18:37:10 +0000 Subject: [PATCH] - Fix build on arm6 --- x11-themes/qt4-style-phase/files/patch-phasestyle.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/x11-themes/qt4-style-phase/files/patch-phasestyle.cpp b/x11-themes/qt4-style-phase/files/patch-phasestyle.cpp index fa9c88562e28..271004bd9b49 100644 --- a/x11-themes/qt4-style-phase/files/patch-phasestyle.cpp +++ b/x11-themes/qt4-style-phase/files/patch-phasestyle.cpp @@ -1,5 +1,14 @@ --- phasestyle.cpp.orig 2007-05-03 08:48:44.000000000 +0400 -+++ phasestyle.cpp 2010-11-26 05:07:37.000000000 +0300 ++++ phasestyle.cpp 2014-12-15 02:02:43.000000000 +0300 +@@ -2028,7 +2028,7 @@ + qreal cx = rect.center().x(); + qreal cy = rect.center().y(); + qreal radius = (qMin(w, h) / 2.0) - 2.0; +- qreal tick = qMax(radius / 6, 4.0); ++ qreal tick = qMax(radius / 6, (qreal)4.0); + + if (dial->subControls & SC_DialGroove) { + QRectF groove = QRectF(cx-radius+tick, cy-radius+tick, @@ -2367,6 +2367,8 @@ return 2;