MCPcopy Create free account
hub / github.com/KDE/konsole / activeSessionDir

Method activeSessionDir

src/MainWindow.cpp:634–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632}
633
634QString 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
647void MainWindow::openUrls(const QList<QUrl> &urls)
648{

Callers

nothing calls this directly

Calls 5

getDynamicTitleMethod · 0.80
QStringClass · 0.50
isNullMethod · 0.45
sessionMethod · 0.45
currentDirMethod · 0.45

Tested by

no test coverage detected