From 3080953542fceb7e8bea1bfbd3ad9405304764b7 2013-04-08 11:07:26 From: Mika Salmela Date: 2013-04-08 11:07:26 Subject: [PATCH] WS changes Change-Id: Ib7e3001882a7b58b341c8b3221a0704d9110770c Reviewed-by: Mika Salmela --- diff --git a/src/barchart/qabstractbarseries.cpp b/src/barchart/qabstractbarseries.cpp index fe67f4e..eee4086 100644 --- a/src/barchart/qabstractbarseries.cpp +++ b/src/barchart/qabstractbarseries.cpp @@ -777,22 +777,22 @@ void QAbstractBarSeriesPrivate::initializeAxes() if (axis->type() == QAbstractAxis::AxisTypeBarCategory) { switch (q->type()) { - case QAbstractSeries::SeriesTypeHorizontalBar: - case QAbstractSeries::SeriesTypeHorizontalPercentBar: - case QAbstractSeries::SeriesTypeHorizontalStackedBar: + case QAbstractSeries::SeriesTypeHorizontalBar: + case QAbstractSeries::SeriesTypeHorizontalPercentBar: + case QAbstractSeries::SeriesTypeHorizontalStackedBar: if (axis->orientation() == Qt::Vertical) populateCategories(qobject_cast(axis)); - break; - case QAbstractSeries::SeriesTypeBar: - case QAbstractSeries::SeriesTypePercentBar: - case QAbstractSeries::SeriesTypeStackedBar: - case QAbstractSeries::SeriesTypeBoxPlot: + break; + case QAbstractSeries::SeriesTypeBar: + case QAbstractSeries::SeriesTypePercentBar: + case QAbstractSeries::SeriesTypeStackedBar: + case QAbstractSeries::SeriesTypeBoxPlot: if (axis->orientation() == Qt::Horizontal) - populateCategories(qobject_cast(axis)); - break; - default: + populateCategories(qobject_cast(axis)); + break; + default: qWarning() << "Unexpected series type"; - break; + break; } } }