[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Compile error in libkdchart
From: Alvaro Soliverez <asoliverez () gmail ! com>
Date: 2010-05-30 0:25:28
Message-ID: AANLkTingBxEuf-TJL1FDL0OlH6sQ6ZRZ-ai4_3kyGwz5 () mail ! gmail ! com
[Download RAW message or body]
Hello,
as you may recall, KMyMoney copies the kdchart source from KOffice.
Since January, there is a compile error in the source we bring from
KOffice, and I wonder whether it compiles correctly there because of
something I'm not seeing.
The line in question is line 970 of KDChartLegend.cpp
// MarkerAttributes are preferred.
const QBrush markerBrush =
markerAttrs[dataset].markerColor().isValid() ?
markerAttrs[dataset].markerColor()
: brush( dataset );
I had to change it to this to make it run:
// MarkerAttributes are preferred.
const QBrush markerBrush =
markerAttrs[dataset].markerColor().isValid() ?
QBrush(markerAttrs[dataset].markerColor()) : brush( dataset );
We use KDChart extensively and we have found no problem with this change.
Is this something that went unnoticed or is there a workaround for
this that I missed?
Thanks!
Regards,
Alvaro
KMyMoney development team
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic