[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [amarok/spotify] src/core-impl/collections/spotifycollection: Fix resolver not loaded after download
From:       Edward Hades <edward.hades () gmail ! com>
Date:       2012-10-28 11:20:00
Message-ID: 20121028112000.0E98BA6115 () git ! kde ! org
[Download RAW message or body]

Git commit 3df45a85b56d7339873d49fe936d4b6d843c7b83 by Edward Hades, on behalf of \
Ryan Feng. Committed on 24/08/2012 at 13:31.
Pushed by hades into branch 'spotify'.

Fix resolver not loaded after downloading

M  +4    -0    src/core-impl/collections/spotifycollection/SpotifySettings.cpp

http://commits.kde.org/amarok/3df45a85b56d7339873d49fe936d4b6d843c7b83

diff --git a/src/core-impl/collections/spotifycollection/SpotifySettings.cpp \
b/src/core-impl/collections/spotifycollection/SpotifySettings.cpp index \
                a671751..4452a16 100644
--- a/src/core-impl/collections/spotifycollection/SpotifySettings.cpp
+++ b/src/core-impl/collections/spotifycollection/SpotifySettings.cpp
@@ -238,6 +238,10 @@ SpotifySettings::slotDownloadFinished()
         file.close();
     }
 
+    // Notify controller to load the resolver
+    Spotify::Controller* controller = The::SpotifyController();
+    controller->reload();
+
     // Restore widgets
     m_configWidget->progDownload->hide();
     m_configWidget->frameMain->show();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic