┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/startup/startupsettingspage.h
diff options
context:
space:
mode:
authorDerek Christ <[email protected]>2020-12-21 13:08:12 +0100
committerElvis Angelaccio <[email protected]>2020-12-21 21:28:50 +0000
commit87bb0ca10b9a486d982ceadf9be3d0dad68cf437 (patch)
tree08543ebf17864201df2bade341a502db4bf45914 /src/settings/startup/startupsettingspage.h
parentecd5c7d678cdd607c8f9bafa8fcdf66a3f9bace7 (diff)
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
Diffstat (limited to 'src/settings/startup/startupsettingspage.h')
-rw-r--r--src/settings/startup/startupsettingspage.h1
1 files changed, 1 insertions, 0 deletions
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;