diff options
Diffstat (limited to 'libkdchart/KDChartRingPainter.cpp')
-rw-r--r-- | libkdchart/KDChartRingPainter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkdchart/KDChartRingPainter.cpp b/libkdchart/KDChartRingPainter.cpp index d9016ed..9740fa5 100644 --- a/libkdchart/KDChartRingPainter.cpp +++ b/libkdchart/KDChartRingPainter.cpp @@ -203,7 +203,7 @@ void KDChartRingPainter::paintData( TQPainter* painter, bool explode = params()->explode() && // explosion is on at all ( dataset == (int)datasetStart ) && // outermost ring ( ( explodeList.count() == 0 ) || // either nothing on explode list - ( explodeList.tqfind( value ) != explodeList.end() ) ); // or pie is on it + ( explodeList.find( value ) != explodeList.end() ) ); // or pie is on it drawOneSegment( painter, currentouterradius, @@ -253,7 +253,7 @@ void KDChartRingPainter::drawOneSegment( TQPainter* painter, // find the explode factor for this particular ring segment double explodeFactor = 0.0; TQMap<int,double> explodeFactors = params()->explodeFactors(); - if( !explodeFactors.tqcontains( value ) ) // not on factors list, use default + if( !explodeFactors.contains( value ) ) // not on factors list, use default explodeFactor = params()->explodeFactor(); else // on factors list, use segment-specific value explodeFactor = explodeFactors[value]; |