[Kde-imaging] [Bug 189984] Impossible to email images if the path contains characters such as éèà ...
Nicolas Lécureuil
neoclust at mandriva.org
Tue Jul 7 06:06:55 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=189984
--- Comment #5 from Nicolas Lécureuil <neoclust mandriva org> 2009-07-07 06:06:54 ---
Is it ok to commit ? for me this fixes the issue
Index: sendimages/sendimages.cpp
===================================================================
--- sendimages/sendimages.cpp (révision 992427)
+++ sendimages/sendimages.cpp (copie de travail)
@@ -389,7 +389,7 @@
for (KUrl::List::ConstIterator it = fileList.constBegin()
; it != fileList.constEnd() ; ++it )
{
args.append("-a");
- args.append(QFile::encodeName((*it).path()));
+ args.append((*it).path());
}
if (!QProcess::startDetached(prog, args))
@@ -412,7 +412,7 @@
args.append("--attach");
for (KUrl::List::ConstIterator it = fileList.constBegin()
; it != fileList.constEnd() ; ++it )
{
- args.append(QFile::encodeName((*it).path()));
+ args.append((*it).path());
}
QString prog;
@@ -442,7 +442,7 @@
for (KUrl::List::ConstIterator it = fileList.constBegin()
; it != fileList.constEnd() ; ++it )
{
tmp.append("&attach=");
- tmp.append( QFile::encodeName((*it).path()) );
+ tmp.append( (*it).path() );
}
args.append(tmp);
@@ -464,7 +464,7 @@
for (KUrl::List::ConstIterator it = fileList.constBegin()
; it != fileList.constEnd() ; ++it )
{
args.append("--attach");
- args.append(QFile::encodeName((*it).path()));
+ args.append((*it).path());
}
if (!QProcess::startDetached(prog, args))
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kde-imaging
mailing list