--- a/ganeswidgets/tsrc/fute/HgWidgetTest/src/hgwidgettestdatamodel.cpp Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/tsrc/fute/HgWidgetTest/src/hgwidgettestdatamodel.cpp Tue Jul 06 15:29:26 2010 +0300
@@ -57,12 +57,12 @@
mImageType(ImageTypeNone),
// mDefaultIcon((":/images/default.svg")),
mUseLowResImages(false),
+ mBufferManager(0),
+ mSilentDataFetch(false),
mWrapper( new ThumbnailManager() ),
mThumbnailRequestPending(false),
mThumbnailRequestIndex(-1),
- mThumbnailRequestID(-1),
- mBufferManager(0),
- mSilentDataFetch(false)
+ mThumbnailRequestID(-1)
{
FUNC_LOG;
mWrapper->setQualityPreference( ThumbnailManager::OptimizeForPerformance );
@@ -596,6 +596,8 @@
void HgWidgetTestDataModel::thumbnailReady( QPixmap pixmap, void* data, int /*id*/, int error )
{
+ Q_UNUSED(data);
+
if (!error && !pixmap.isNull() ){
// int idx = reinterpret_cast<int>(data);
if (mImageType == ImageTypeQPixmap || mImageType == ImageTypeHbIcon)