--- a/ui/uiengine/model/mediamodel/src/glxmediamodel.cpp Fri Aug 06 20:44:25 2010 +0530
+++ b/ui/uiengine/model/mediamodel/src/glxmediamodel.cpp Mon Aug 23 18:06:16 2010 +0530
@@ -44,6 +44,7 @@
qDebug("GlxMediaModel::GlxMediaModel");
thumbnailPopulatedFlag = modelParm.collection() == KGlxCollectionPluginAllImplementationUid ? false : true;
+ mPaintPage = modelParm.collection() == KGlxCollectionPluginAllImplementationUid ? true : false;
mMLWrapper = new GlxMLWrapper(modelParm.collection(),0,EGlxFilterImage);
mMLWrapper->setContextMode( modelParm.contextMode() );
mContextMode = modelParm.contextMode( ) ;
@@ -199,6 +200,10 @@
return QVariant();
}
+ if (role == GlxPaintPageFlag) {
+ return mPaintPage;
+ }
+
if ( role == GlxDefaultImage ) {
if(!m_DefaultIcon->isNull()) {
// this image Creation is Slow.