[Kde-imaging] kdeextragear-libs-1/kipi-plugins/sendimages
Gilles Caulier
caulier.gilles at free.fr
Tue Sep 7 09:17:00 CEST 2004
CVS commit by cgilles:
SendImage KIPI plugin:
- Fixed ReadWrite operations on comments file to WriteOnly.
- Added empty line in comments file.
CCMAIL: kde-imaging at kde.org
M +2 -2 sendimages.cpp 1.10
--- kdeextragear-libs-1/kipi-plugins/sendimages/sendimages.cpp #1.9:1.10
@@ -228,5 +228,5 @@ void SendImages::makeCommentsFile(void)
ImageCommentsText = ImageCommentsText +
- i18n("Comments for image \"%1\": %2\n")
+ i18n("Comments for image \"%1\": %2\n\n")
.arg(targetFile)
.arg(commentItem);
@@ -236,5 +236,5 @@ void SendImages::makeCommentsFile(void)
QFile commentsFile( m_tmp + i18n("comments.txt") );
QTextStream stream( &commentsFile );
- commentsFile.open( IO_ReadWrite );
+ commentsFile.open( IO_WriteOnly );
stream << ImageCommentsText << "\n";
commentsFile.close();
More information about the Kde-imaging
mailing list