@@ -199,7 +199,7 void QBarCategoryAxis::remove(const QString &category) | |||||
199 | if(!d->m_categories.isEmpty()) |
|
199 | if(!d->m_categories.isEmpty()) | |
200 | setRange(d->m_categories.first(),d->m_categories.last()); |
|
200 | setRange(d->m_categories.first(),d->m_categories.last()); | |
201 | else |
|
201 | else | |
202 |
setRange(QString |
|
202 | setRange(QString::null,QString::null); | |
203 | emit categoriesChanged(); |
|
203 | emit categoriesChanged(); | |
204 | } |
|
204 | } | |
205 | } |
|
205 | } | |
@@ -242,7 +242,7 void QBarCategoryAxis::clear() | |||||
242 | { |
|
242 | { | |
243 | Q_D(QBarCategoryAxis); |
|
243 | Q_D(QBarCategoryAxis); | |
244 | d->m_categories.clear(); |
|
244 | d->m_categories.clear(); | |
245 |
setRange(QString |
|
245 | setRange(QString::null,QString::null); | |
246 | emit categoriesChanged(); |
|
246 | emit categoriesChanged(); | |
247 | } |
|
247 | } | |
248 |
|
248 |
General Comments 0
You need to be logged in to leave comments.
Login now