@@ -382,7 +382,7 QBarSet* QBarSeriesPrivate::barsetAt(int index) | |||
|
382 | 382 | |
|
383 | 383 | QString QBarSeriesPrivate::categoryName(int category) |
|
384 | 384 | { |
|
385 | if ((category > 0) && (category < m_categories.count())) { | |
|
385 | if ((category >= 0) && (category < m_categories.count())) { | |
|
386 | 386 | return m_categories.at(category); |
|
387 | 387 | } |
|
388 | 388 |
General Comments 0
You need to be logged in to leave comments.
Login now