videocollection/videocollectionview/src/videocollectionuiloader.cpp
changeset 67 72c709219fcd
parent 66 adb51f74b890
--- a/videocollection/videocollectionview/src/videocollectionuiloader.cpp	Tue Oct 05 09:26:49 2010 +0300
+++ b/videocollection/videocollectionview/src/videocollectionuiloader.cpp	Fri Oct 15 16:29:10 2010 +0300
@@ -15,7 +15,7 @@
 *
 */
 
-// Version : %version: 24.1.2 %
+// Version : %version: 24.1.3 %
 
 // INCLUDE FILES
 #include <qgraphicswidget.h>
@@ -412,17 +412,6 @@
                 }
             }
         }
-        else if (name.compare(DOCML_NAME_DIALOG) == 0)
-        {
-            // by default, initialize the selection dialog to delete mode
-            VideoListSelectionDialog *dialog =
-                qobject_cast<VideoListSelectionDialog*>(object);
-            if (dialog)
-            {
-                dialog->setupContent(VideoListSelectionDialog::EDeleteVideos,
-                    TMPXItemId::InvalidId());
-            }
-        }
         else if (name.compare(DOCML_NAME_SORT_MENU) == 0)
         {
             HbMenu *menu = qobject_cast<HbMenu*>(object);
@@ -664,7 +653,7 @@
     }
     else if ( type == VideoListSelectionDialog::staticMetaObject.className() )
     {
-        object = new VideoListSelectionDialog(this);
+        object = new VideoListSelectionDialog();
     }
     else if ( type == VideoListWidget::staticMetaObject.className() )
     {