[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/kphotoalbum/ImportExport
From: Jesper Pedersen <blackie () blackie ! dk>
Date: 2008-07-08 23:21:11
Message-ID: 1215559271.210532.25957.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 829728 by blackie:
fixed the problem that exporting did not generate a thumbnail
M +1 -1 Export.cpp
--- trunk/extragear/graphics/kphotoalbum/ImportExport/Export.cpp #829727:829728
@@ -305,7 +305,7 @@
QByteArray data;
QBuffer buffer( &data );
buffer.open( QIODevice::WriteOnly );
- image.save( &buffer, QFile::encodeName( QImageReader::imageFormat( zipFileName ) ) );
+ image.save( &buffer, QFileInfo(zipFileName).suffix().toLower().toLatin1() );
if ( _location == Inline || !_copyingFiles )
_zip->writeFile( zipFileName, QString::null, QString::null, data, data.size() );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic