From 712643876ed915e0c69597bde9ac8343df9ca00f Mon Sep 17 00:00:00 2001 From: Dmitry Mikhirev Date: Apr 06 2016 21:45:15 +0000 Subject: one more fix for armv7hl --- diff --git a/ctk-qreal_not_double.patch b/ctk-qreal_not_double.patch index a2e4088..e4fba82 100644 --- a/ctk-qreal_not_double.patch +++ b/ctk-qreal_not_double.patch @@ -26,3 +26,16 @@ Index: CTK-bdc8caca0458759e1672a94ca2857595d40f17b0/Libs/Widgets/ctkMaterialProp } } image.setPixel(i,j,rgba); +Index: CTK-bdc8caca0458759e1672a94ca2857595d40f17b0/Libs/Widgets/ctkTransferFunctionBarsItem.cpp +=================================================================== +--- CTK-bdc8caca0458759e1672a94ca2857595d40f17b0.orig/Libs/Widgets/ctkTransferFunctionBarsItem.cpp ++++ CTK-bdc8caca0458759e1672a94ca2857595d40f17b0/Libs/Widgets/ctkTransferFunctionBarsItem.cpp +@@ -92,7 +92,7 @@ ctkTransferFunctionBarsItem::~ctkTransfe + void ctkTransferFunctionBarsItem::setBarWidth(qreal newBarWidthRatio) + { + Q_D(ctkTransferFunctionBarsItem); +- newBarWidthRatio = qBound(0., newBarWidthRatio, 1.); ++ newBarWidthRatio = qBound(0., newBarWidthRatio, 1.); + if (d->BarWidthRatio == newBarWidthRatio) + { + return;