| Summary: | default projects directory not preserved (if different from home directory) | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Stefano Rosanelli <s.rosanelli> |
| Component: | general | Assignee: | KDevelop Developers <kdevelop-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | patch | ||
|
Description
Stefano Rosanelli
2004-04-22 14:44:08 UTC
Created attachment 5728 [details]
patch
super-simple-trivial patch... ;-)
CVS commit by dagerbo: Read DefaultProjectsDir from the correct place. Patch by Stefano Rosanelli. Thanks! CCMAIL: 80128-done@bugs.kde.org M +3 -1 projectmanager.cpp 1.74 --- kdevelop/src/projectmanager.cpp #1.73:1.74 @@ -128,5 +128,7 @@ void ProjectManager::createActions( KAct void ProjectManager::slotOpenProject() { - QString defaultProjectsDir = kapp->config()->readPathEntry("DefaultProjectsDir", QDir::homeDirPath()+"/"); + KConfig *config = kapp->config(); + config->setGroup("General Options"); + QString defaultProjectsDir = config->readPathEntry("DefaultProjectsDir", QDir::homeDirPath()+"/"); KURL url = KFileDialog::getOpenURL(defaultProjectsDir, |