mpx/collectionframework/collectionengine/src/mpxcollectionclientcontext.cpp
branchRCL_3
changeset 10 d240f0a77280
parent 0 a2952bb97e68
child 12 51035f0751c2
--- a/mpx/collectionframework/collectionengine/src/mpxcollectionclientcontext.cpp	Fri Mar 12 15:44:36 2010 +0200
+++ b/mpx/collectionframework/collectionengine/src/mpxcollectionclientcontext.cpp	Mon Mar 15 12:42:31 2010 +0200
@@ -2440,7 +2440,11 @@
     // Check for open playlist only mode.  If in that mode, do not return the media
     // from the cache but call the plugin to open, as that will callback a
     // different HandleOpenL() with the collection path instead.
-    TMPXOpenMode mode( iBrowsePath->OpenNextMode() );
+    TMPXOpenMode mode = EMPXOpenDefault;
+    if(iBrowsePath)
+        {
+        mode = iBrowsePath->OpenNextMode();
+        }
     CMPXCollectionPlugin* plugin = LoadedPlugin(EContextBrowse);
     if ( !iFilter && mode != EMPXOpenPlaylistOnly )
         {