open project problem + patch

Stefano Rosanelli stefano.rosanelli at tin.it
Mon Apr 19 13:28:09 UTC 2004


Hi all,

this is my first post to the devel list. 
Having a "default project directory" different from "home" directory 
first time you "Open project..." fine, if you "Close Project..." and 
"Open project..." again you are redirected to the home directory. The 
problem disappears with:

# cvs diff src/projectmanager.cpp
Index: src/projectmanager.cpp
===================================================================
retrieving revision 1.73
diff -r1.73 projectmanager.cpp
130c130,132
<   QString defaultProjectsDir = 
kapp->config()->readPathEntry("DefaultProjectsDir",QDir::homeDirPath()+"/");
---
>   KConfig *config = kapp->config();
>   config->setGroup("General Options");
>   QString defaultProjectsDir = 
config()->readPathEntry("DefaultProjectsDir", QDir::homeDirPath()+"/");

Question: is it better for such problems to open a bug-report or simply 
send a message to the list? It seems this bug is not present in 
bugzilla.

ciao
Stefano





More information about the KDevelop-devel mailing list