| 371 | } |
| 372 | |
| 373 | void TaskWindow::updateTimeline(void *timeline, int count) |
| 374 | { |
| 375 | d->timeline->setData(this, timeline, count); |
| 376 | |
| 377 | if (!timeline || !count) { |
| 378 | d->taskModel->clearTasks(); |
| 379 | d->eventLabel->setText(STR_CURRENT_EVENT + QLatin1String("...]")); |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | static bool get_range(const QString& range, int* begin, int* end) |
| 384 | { |
no test coverage detected