--- a/ui/uiengine/model/mediamodel/src/glxmediamodel.cpp Wed Aug 18 09:48:53 2010 +0300
+++ b/ui/uiengine/model/mediamodel/src/glxmediamodel.cpp Thu Sep 02 20:26:45 2010 +0300
@@ -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.