From 87bb0ca10b9a486d982ceadf9be3d0dad68cf437 Mon Sep 17 00:00:00 2001 From: Derek Christ Date: Mon, 21 Dec 2020 13:08:12 +0100 Subject: Allow non-local startup location Only local directories were supported to be set as the starting location of Dolphin. This commit fixes this by using an KIO::StatJob to determine if the path is actually pointing to a directory or a file regardless if it is a local or a remote path. Additionaly a hard-coded exception for urls with the scheme "timeline" was removed because with the new fix it is now obsolete. BUG: 428885 --- src/settings/startup/startupsettingspage.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/settings/startup/startupsettingspage.h') diff --git a/src/settings/startup/startupsettingspage.h b/src/settings/startup/startupsettingspage.h index ff3ffcb12..1090e0822 100644 --- a/src/settings/startup/startupsettingspage.h +++ b/src/settings/startup/startupsettingspage.h @@ -43,6 +43,7 @@ private slots: private: void loadSettings(); + void showSetDefaultDirectoryError(); private: QUrl m_url; -- cgit v1.3