| 490 | } |
| 491 | |
| 492 | void ProblemsView::setScope(ProblemScope scope) |
| 493 | { |
| 494 | m_scopeMenu->setText(i18nc("@title:menu", "Scope: %1", m_scopeMenu->menu()->actions().at(scope)->text())); |
| 495 | |
| 496 | currentView()->model()->setScope(scope); |
| 497 | } |
| 498 | |
| 499 | void ProblemsView::setFilter(const QString& filterText) |
| 500 | { |