[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kchart/kdchart/src
From:       Johannes Simon <johannes.simon () gmail ! com>
Date:       2010-06-04 14:27:20
Message-ID: 20100604142720.30E10AC8CF () svn ! kde ! org
[Download RAW message or body]

SVN commit 1134538 by jsimon:

Compile with GCC v4.5

 M  +1 -1      KDChartLegend.cpp  


--- trunk/koffice/kchart/kdchart/src/KDChartLegend.cpp #1134537:1134538
@@ -978,7 +978,7 @@
         // as well as through the dataset brush set in the diagram, whereas the
         // MarkerAttributes are preferred.
         const QBrush markerBrush = markerAttrs[dataset].markerColor().isValid() ?
-                                   markerAttrs[dataset].markerColor() : brush( dataset );
+                                   QBrush(markerAttrs[dataset].markerColor()) : brush( dataset );
         switch( style ){
             case( MarkersOnly ):
                 markerLineItem = new KDChart::MarkerLayoutItem(
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic