| 346 | } |
| 347 | |
| 348 | void ProblemModel::closedDocument(IDocument* document) |
| 349 | { |
| 350 | Q_D(ProblemModel); |
| 351 | |
| 352 | if (IndexedString(document->url()) == d->m_problems->currentDocument()) |
| 353 | { // reset current document |
| 354 | d->m_problems->setCurrentDocument(IndexedString()); |
| 355 | } |
| 356 | } |
| 357 | |
| 358 | void ProblemModel::documentUrlChanged(IDocument* document, const QUrl& previousUrl) |
| 359 | { |
nothing calls this directly
no test coverage detected