mpx/collectionframework/collectionengine/src/mpxcollectionclientcontext.cpp
changeset 25 d881023c13eb
parent 0 a2952bb97e68
child 19 51035f0751c2
--- a/mpx/collectionframework/collectionengine/src/mpxcollectionclientcontext.cpp	Fri Apr 16 15:28:14 2010 +0300
+++ b/mpx/collectionframework/collectionengine/src/mpxcollectionclientcontext.cpp	Mon May 03 12:58:40 2010 +0300
@@ -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 )
         {