app/src/mpmainwindow.cpp
changeset 25 3ec52facab4d
parent 22 ecf06a08d4d9
child 29 8192e5b5c935
--- a/app/src/mpmainwindow.cpp	Mon May 03 12:29:20 2010 +0300
+++ b/app/src/mpmainwindow.cpp	Fri May 14 15:49:53 2010 +0300
@@ -137,7 +137,7 @@
         activateView(CollectionView);
 
         connect(this, SIGNAL( orientationChanged( Qt::Orientation ) ), SLOT( switchView( Qt::Orientation ) ) );
-        connect( engine, SIGNAL( libraryRefreshed() ), SLOT( handleLibraryUpdated() ) );
+        connect( engine, SIGNAL( libraryUpdated() ), SLOT( handleLibraryUpdated() ) );
         engine->checkForSystemEvents();
         loadView( PlaybackView );
     }
@@ -293,7 +293,7 @@
             loadView(PlaybackView, MpCommon::FetchView );
             MpViewBase* playbackView = reinterpret_cast<MpViewBase*>(mPlaybackViewPlugin->getView());
             connect(playbackView, SIGNAL(songSelected(QString)), mMusicServices, SLOT(itemSelected(QString)));
-            connect( engine, SIGNAL( libraryRefreshed() ), this, SLOT( handleLibraryUpdated() ) );
+            connect( engine, SIGNAL( libraryUpdated() ), this, SLOT( handleLibraryUpdated() ) );
             engine->checkForSystemEvents();
             break;
         }