[Kde-print-devel] [Bug 135186] drag 'n drop file with utf-8 in name or path

Lubos Lunak l.lunak at kde.org
Fri Nov 3 18:29:36 CET 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=135186         
l.lunak kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From l.lunak kde org  2006-11-03 18:29 -------
SVN commit 601573 by lunakl:

Do not encode the filenames manually, KProcess:operator<<(const QString&)
does it.
BUG: 135186



 M  +2 -2      kprinterimpl.cpp  


--- branches/KDE/3.5/kdelibs/kdeprint/kprinterimpl.cpp #601572:601573
 @ -257,8 +257,8  @
 	for (QStringList::ConstIterator it=files.begin(); it!=files.end(); ++it)
 		if (QFile::exists(*it))
 		{
-			// quote and encode filenames
-			filestr.append(quote(QFile::encodeName(*it))).append(" ");
+			// quote filenames
+			filestr.append(quote(*it)).append(" ");
 			printfiles.append(*it);
 		}
 		else


More information about the Kde-print-devel mailing list