]> cloud.milkyroute.net Git - dolphin.git/commit
Allow non-local startup location
authorDerek Christ <christ.derek@gmail.com>
Mon, 21 Dec 2020 12:08:12 +0000 (13:08 +0100)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Mon, 21 Dec 2020 21:28:50 +0000 (21:28 +0000)
commit87bb0ca10b9a486d982ceadf9be3d0dad68cf437
tree08543ebf17864201df2bade341a502db4bf45914
parentecd5c7d678cdd607c8f9bafa8fcdf66a3f9bace7
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.cpp
src/settings/startup/startupsettingspage.h