Special characters and KLauncher [TAKE 2]

Thiago Macieira thiago at kde.org
Mon Oct 8 17:35:15 BST 2007


Rafael Fernández López wrote:
>@@ -5131,7 +5131,7 @@ void KateDocument::slotModifiedOnDisk( K
>       {
>         m_modOnHd = false;
>         KEncodingFileDialog::Result
> res=KEncodingFileDialog::getSaveUrlAndEncoding(config()->encoding(), - 
>           url().url(),QString(),widget(),i18n("Save File")); +         
>   url().prettyUrl(),QString(),widget(),i18n("Save File"));
>
>         kDebug(13020)<<"got "<<res.URLs.count()<<" URLs";
>         if( ! res.URLs.isEmpty() && ! res.URLs.first().isEmpty() &&
> checkOverwrite( res.URLs.first() ) ) @@ -5287,7 +5287,7 @@ bool
> KateDocument::documentSave()
> bool KateDocument::documentSaveAs()
> {
>   KEncodingFileDialog::Result
> res=KEncodingFileDialog::getSaveUrlAndEncoding(config()->encoding(), - 
>               url().url(),QString(),0,i18n("Save File"));
>+                url().prettyUrl(),QString(),0,i18n("Save File"));
>
>   if( res.URLs.isEmpty() || !checkOverwrite( res.URLs.first()

These look wrong to me.

Why are you passing the non-machine-readable form to KEncodingFileDialog?

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071008/b4603e7f/attachment.sig>


More information about the kde-core-devel mailing list