mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Allow Timeline-URLs as homepage
FEATURE: 313151 REVIEW: 108428
This commit is contained in:
parent
48231488bd
commit
550da74b54
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ void StartupSettingsPage::applySettings()
|
|||
|
||||
const KUrl url(m_homeUrl->text());
|
||||
KFileItem fileItem(KFileItem::Unknown, KFileItem::Unknown, url);
|
||||
if (url.isValid() && fileItem.isDir()) {
|
||||
if ((url.isValid() && fileItem.isDir()) || (url.protocol() == QLatin1String("timeline"))) {
|
||||
settings->setHomeUrl(url.prettyUrl());
|
||||
} else {
|
||||
KMessageBox::error(this, i18nc("@info", "The location for the home folder is invalid or does not exist, it will not be applied."));
|
||||
|
|
Loading…
Reference in a new issue