Commit 87a4eb9e authored by Andrea Scarpino's avatar Andrea Scarpino

Allow Timeline-URLs as homepage

FEATURE: 313151
REVIEW: 108428
parent bd12613b
......@@ -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."));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment