diff options
| author | Nate Graham <[email protected]> | 2021-08-02 10:32:31 -0600 |
|---|---|---|
| committer | Nate Graham <[email protected]> | 2021-08-02 10:32:31 -0600 |
| commit | d472cb2a25cef38dbebbd0ec9073e4ec05d65272 (patch) | |
| tree | 86d221422773d75835d65ba14d71cdcf15fe81c1 /src/dolphinmainwindow.cpp | |
| parent | 393c659c9a0ffc5f6ddb4ee161b9b3937ead0145 (diff) | |
| parent | f190ae1cf8fc1c1bf0d87899a84f796a3e473032 (diff) | |
Merge branch 'release/21.08'
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 9712b99bc..0b1ebe765 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -237,20 +237,6 @@ QVector<DolphinViewContainer*> DolphinMainWindow::viewContainers() const return viewContainers; } -void DolphinMainWindow::setViewsWithInvalidPathsToHome() -{ - const QVector<DolphinViewContainer*> theViewContainers = viewContainers(); - for (DolphinViewContainer *viewContainer : theViewContainers) { - - // Only consider local dirs, not remote locations and abstract protocols - if (viewContainer->url().isLocalFile()) { - if (!QFileInfo::exists(viewContainer->url().toLocalFile())) { - viewContainer->setUrl(QUrl::fromLocalFile(QDir::homePath())); - } - } - } -} - void DolphinMainWindow::openDirectories(const QList<QUrl>& dirs, bool splitView) { m_tabWidget->openDirectories(dirs, splitView); |
