svn path=/trunk/KDE/kdebase/apps/; revision=649220
void EditBookmarkDialog::selectLocation()
{
const QString location(m_location->text());
- KUrl url(KFileDialog::getExistingUrl(location));
+ KUrl url(KFileDialog::getExistingDirectoryUrl(location));
if (!url.isEmpty()) {
m_location->setText(url.prettyUrl());
}
void GeneralSettingsPage::selectHomeUrl()
{
const QString homeUrl(m_homeUrl->text());
- KUrl url(KFileDialog::getExistingUrl(homeUrl));
+ KUrl url(KFileDialog::getExistingDirectoryUrl(homeUrl));
if (!url.isEmpty()) {
m_homeUrl->setText(url.prettyUrl());
}