mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Give dialog a parent.
svn path=/trunk/KDE/kdebase/apps/; revision=813386
This commit is contained in:
parent
66b47bf3d2
commit
2f56e8f9b0
|
@ -134,7 +134,7 @@ void StartupSettingsPage::restoreDefaults()
|
|||
void StartupSettingsPage::selectHomeUrl()
|
||||
{
|
||||
const QString homeUrl = m_homeUrl->text();
|
||||
KUrl url = KFileDialog::getExistingDirectoryUrl(homeUrl);
|
||||
KUrl url = KFileDialog::getExistingDirectoryUrl(homeUrl, this);
|
||||
if (!url.isEmpty()) {
|
||||
m_homeUrl->setText(url.prettyUrl());
|
||||
emit changed();
|
||||
|
|
Loading…
Reference in a new issue