musicwidgetplugin/src/musicwidget.cpp
changeset 55 f3930dda3342
parent 47 4cc1412daed0
child 59 cd9e40a08dda
--- a/musicwidgetplugin/src/musicwidget.cpp	Tue Aug 24 03:36:14 2010 -0500
+++ b/musicwidgetplugin/src/musicwidget.cpp	Fri Sep 03 19:58:01 2010 -0500
@@ -132,7 +132,7 @@
     setupUi();
     
     // Connect to MP engine and playback data
-    mMpEngine = MpEngineFactory::createSharedEngine();
+    mMpEngine = MpEngineFactory::createSharedEngine(MpCommon::KMusicPlayerUid, MpEngine::HomeScreen );
     Q_ASSERT_X(mMpEngine, "music_widget", "no music player engine");
     TX_LOG_ARGS("got mp engine")
     
@@ -176,7 +176,7 @@
     QObject::connect(mNextPushButton, SIGNAL(clicked()), this, SLOT(nextSong()));
 
     // MpEngine
-    QObject::connect(mMpEngine, SIGNAL(libraryAboutToUpdate()), this, SLOT(libraryAboutToUpdate()));
+    QObject::connect(mMpEngine, SIGNAL(libraryUpdateStarted()), this, SLOT(libraryUpdateStarted()));
     QObject::connect(mMpEngine, SIGNAL(libraryUpdated()), this, SLOT(libraryUpdated()));
     QObject::connect(mMpEngine, SIGNAL(usbBlocked(bool)), this, SLOT(usbBlocked(bool)));
 
@@ -615,7 +615,7 @@
 /*!
  MpEngine related
  */
-void MusicWidget::libraryAboutToUpdate()
+void MusicWidget::libraryUpdateStarted()
 {
     TX_LOG
     //Refresh Library start