@@ -370,7 +370,7 QList<QAbstractAxis *> QChart::axes(Qt::Orientations orientation, QAbstractSerie | |||
|
370 | 370 | } else { |
|
371 | 371 | foreach (QAbstractSeries *s, QChart::series()) { |
|
372 | 372 | foreach (QAbstractAxis *axis, s->attachedAxes()){ |
|
373 | if (orientation.testFlag(axis->orientation())) | |
|
373 | if (orientation.testFlag(axis->orientation()) && !result.contains(axis)) | |
|
374 | 374 | result << axis; |
|
375 | 375 | } |
|
376 | 376 | } |
General Comments 0
You need to be logged in to leave comments.
Login now