mpviewplugins/mpcollectionviewplugin/src/mpcollectiondocumentloader.cpp
changeset 20 82baf59ce8dd
parent 19 4e84c994a771
child 29 8192e5b5c935
--- a/mpviewplugins/mpcollectionviewplugin/src/mpcollectiondocumentloader.cpp	Fri Mar 19 09:28:13 2010 +0200
+++ b/mpviewplugins/mpcollectionviewplugin/src/mpcollectiondocumentloader.cpp	Fri Apr 16 14:56:30 2010 +0300
@@ -18,7 +18,6 @@
 // INCLUDE FILES
 #include "mpcollectiondocumentloader.h"
 #include "mpnowplayingwidget.h"
-#include "mpcollectioninfobar.h"
 #include "mpcommondefs.h"
 #include "mptrace.h"
 
@@ -46,12 +45,6 @@
         TX_EXIT
         return object;
     }
-    else if (type == MpCollectionInfoBar::staticMetaObject.className()) {
-        QObject *object = new MpCollectionInfoBar();
-        object->setObjectName(name);
-        TX_EXIT
-        return object;
-    }
 
     TX_EXIT
     return HbDocumentLoader::createObject(type, name);