if (url.isValid() && fileItem.isDir()) {
settings->setHomeUrl(url.prettyUrl());
} else {
- KMessageBox::error(this, i18n("The location for the home folder is invalid and will not get applied."));
+ KMessageBox::error(this, i18nc("@info", "The location for the home folder is invalid and will not get applied."));
}
settings->setSplitView(m_splitView->isChecked());
void StartupSettingsPage::useDefaultLocation()
{
- m_homeUrl->setText("file://" + QDir::homePath());
+ m_homeUrl->setText(QDir::homePath());
}
void StartupSettingsPage::loadSettings()