Patch to make PartController::editDocument() more robust

Hamish Rodda meddie at yoyo.its.monash.edu.au
Sat Jan 4 09:41:02 UTC 2003


Hi,

Some parts call editDocument() with just the filename, so I made 
editDocument() check in the project's current file list to see if the file is 
known. See attached patch.

Next we should probably promp the user to locate the real url when this method 
fails, but I haven't written that yet.

Comments / ok to apply?

Cheers,

Hamish.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop-20030104.patch
Type: text/x-diff
Size: 2619 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20030104/41e54b48/attachment.bin>


More information about the KDevelop-devel mailing list