Incorrect mode of KUrlRequester in Settings->Configure KDevelop->Project dialog

Sergey Vidyuk vestnik at ngs.ru
Sun Jan 24 21:56:06 UTC 2010


Hello

I've noticed that in the "Settings->Configure KDevelop->Project" dialog project 
base directory can't be chosen by pressing open file dialog button. It looks 
like KUrlRequester mode should be changed to KFile::Directory since by default 
it's set to KFile::File.
I've added the following line:

preferencesDialog->kcfg_projectsBaseDirectory->setMode(KFile::Directory | 
KFile::ExistingOnly | KFile::LocalOnly);

to the ProjectPreferences class constructor right after

preferencesDialog->setupUi( w );

line (in the file kdevplatform/shell/settings/projectpreferences.cpp). After 
that dialog works as expected.

Kind regards
--
  Sergey Vidyuk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100124/c7fa8395/attachment.sig>


More information about the KDevelop-devel mailing list