Development source access and patch

Stefan Wille swille at nikocity.de
Sun May 21 18:58:30 BST 2000


Hello,

I'm new to this list.

Can somebody please tell me if I can get read only access to the current
development sources?

I have made a small patch for KDevelop 1.2. When adding existing files
to the current
project, the QFileDialog always starts at the user home directory.
Because the files to be added
will be located in the project directory, it would be more comfortable
to start at the project directory.

It would be nice if you could apply this patch.

Thanks
Stefan


-------------- next part --------------
--- ../kdevelop-1.2-orig/kdevelop/caddexistingfiledlg.cpp	Sat Aug 28 16:19:23 1999
+++ kdevelop/caddexistingfiledlg.cpp	Sun May 21 19:45:43 2000
@@ -172,8 +172,8 @@
 CAddExistingFileDlg::~CAddExistingFileDlg(){
 }
 void CAddExistingFileDlg::sourceButtonClicked(){
- 
-  QStrList files( QFileDialog::getOpenFileNames(0,QDir::homeDirPath(),this,i18n("Source File(s)...")) );
+
+  QStrList files( QFileDialog::getOpenFileNames(0,prj->getProjectDir(),this,i18n("Source File(s)...")) );
   files.setAutoDelete(true);
 
   QString comp_str;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swille.vcf
Type: text/x-vcard
Size: 148 bytes
Desc: Card for Stefan Wille
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20000521/4cc9b27d/attachment.vcf>


More information about the KDevelop mailing list