| 632 | } |
| 633 | |
| 634 | QString MainWindow::activeSessionDir() const |
| 635 | { |
| 636 | if (!_pluggedController.isNull()) { |
| 637 | if (Session *session = _pluggedController->session()) { |
| 638 | // For new tabs to get the correct working directory, |
| 639 | // force the updating of the currentWorkingDirectory. |
| 640 | session->getDynamicTitle(); |
| 641 | } |
| 642 | return _pluggedController->currentDir(); |
| 643 | } |
| 644 | return QString(); |
| 645 | } |
| 646 | |
| 647 | void MainWindow::openUrls(const QList<QUrl> &urls) |
| 648 | { |
nothing calls this directly
no test coverage detected