[Kde-imaging] [kipiplugins] [Bug 314836] Panorama plugin segfault with non-ascii characters in file paths
Gilles Caulier
caulier.gilles at gmail.com
Mon Feb 11 10:22:06 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=314836
Gilles Caulier <caulier.gilles at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |caulier.gilles at gmail.com
--- Comment #6 from Gilles Caulier <caulier.gilles at gmail.com> ---
Typically, with Qt, to pass const char* string to C ANSI code and respect
encoding, use QFile::encodeName() as here :
https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/entry/common/libkipiplugins/tools/imageio/kpwriteimage.cpp#L267
With KUrl, don't forget to use KUrl::toLocalFile() to prevent problem under
Windows as here :
https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/entry/rawconverter/manager/task.cpp#L121
Gilles
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kde-imaging
mailing list