[Kde-imaging] [Bug 131343] Sending images from digikam fails if directory name contains parentheses
Tom Albers
tomalbers at kde.nl
Tue Jul 25 20:28:33 CEST 2006
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=131343
tomalbers kde nl changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From tomalbers kde nl 2006-07-25 20:28 -------
SVN commit 566299 by toma:
Thunderbird's commandline does not like ( and ). Filter them out in the temp file name.
BUG:131343
M +5 -1 sendimages.cpp
--- trunk/extragear/libs/kipi-plugins/sendimages/sendimages.cpp #566298:566299
@ -150,8 +150,12 @
// Prepare resizing images.
QString imageFileName = ItemName;
+ QString f = (*it).directory().section('/', -1);
- QString imageNameFormat = (*it).directory().section('/', -1) + "-" +
+ // Thunderbird does not like (). Replace them, BUG:131343
+ f.replace(QChar('('), "_").replace(QChar(')'), "_");
+
+ QString imageNameFormat = f + "-" +
imageFileName.replace(QChar('.'), "_") +
extension(m_imageFormat);
More information about the Kde-imaging
mailing list