[Pkg-kde-extras] Bug#613936: kmymoney: FTBFS on armel - no matching function for call to 'qMax(double, qreal)'

Hector Oron hector.oron at gmail.com
Mon Feb 21 13:16:45 UTC 2011


Hello,

2011/2/21 Julien Cristau <jcristau at debian.org>:

> Can this be fixed ASAP please?  It's blocking the transition to testing
> for the libaqbanking,libgwenhywfar,libchipcard,qbankmanager,gnucash
> cluster.

Proposed succesfully tested fix is:

--- kmymoney-4.5.3/kmymoney/widgets/kmymoneytitlelabel.cpp
2011-02-12 09:05:50.000000000 +0000
+++ kmymoney-4.5.3.fix//kmymoney/widgets/kmymoneytitlelabel.cpp
2011-02-21 10:35:22.000000000 +0000
@@ -94,7 +94,7 @@

   // then draw text on top with a larger font (relative to the pixmap
size) and with the appropriate color
   QFont font = painter.font();
-  font.setPointSizeF(qMax(result.height() / 2.5, font.pointSizeF()));
+  font.setPointSizeF(qMax(result.height() / static_cast<qreal>(2.5),
font.pointSizeF()));
   painter.setFont(font);
   painter.setPen(KColorScheme(QPalette::Active,
KColorScheme::Selection).foreground(KColorScheme::NormalText).color());
   style()->drawItemText(&painter, contentsRect(), alignment(),
palette(), isEnabled(), QString("   ") + m_text);


Best regards



-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html





More information about the pkg-kde-extras mailing list