Bug 152412

Summary: Edit identity "Edit File" wrong path
Product: [Applications] kmail Reporter: FiNeX <finex>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: error on the edit identity edit

Description FiNeX 2007-11-16 12:14:47 UTC
Version:           Revision 737448 (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

On the "Edit Identity" dialog, if you choose to edit the file selected for the signature, it will open the default editor, but the filepath is wrong.
Example:
1) select the file named "bar" on your home directory (/home/foo)
2) press "edit file" button
-> the editor will try to open the file "/home/foo/file:///home/foo/bar"

See the screenshot :-)
Comment 1 FiNeX 2007-11-16 12:15:17 UTC
Created attachment 22091 [details]
error on the edit identity edit
Comment 2 Thomas McGuire 2007-11-16 15:46:24 UTC
SVN commit 737562 by tmcguire:

Use path() instead of url(), so QFileInfo::isRelative will do the correct thing.

BUG: 152412



 M  +1 -1      signatureconfigurator.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=737562
Comment 3 FiNeX 2007-11-16 15:58:04 UTC
Well done :-)