diff options
| author | Peter Penz <[email protected]> | 2008-02-14 20:11:51 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-02-14 20:11:51 +0000 |
| commit | 57e2cd9ae9ad4621b0ea82c5dd28c9e122aaa8df (patch) | |
| tree | 4a4674b542b8641dbdd927462dc91cdb1f564d03 /src/dolphinmainwindow.cpp | |
| parent | 731a32414fff61ed76ab426452393bd1119d326e (diff) | |
~ is no useful home folder in a Windows environment (thanks to Michael O'Shea for the patch!)
BUG: 156463
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=775056
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 668f92b7c..e393b22d0 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -612,6 +612,9 @@ void DolphinMainWindow::init() const bool firstRun = generalSettings->firstRun(); if (firstRun) { generalSettings->setViewPropsTimestamp(QDateTime::currentDateTime()); + Q_ASSERT(generalSettings->homeUrl().isEmpty()); + const KUrl homeUrl(QDir::homePath()); + generalSettings->setHomeUrl(homeUrl.prettyUrl()); } setAcceptDrops(true); |
