diff options
Diffstat (limited to 'xbmc/profiles/ProfileManager.cpp')
-rw-r--r-- | xbmc/profiles/ProfileManager.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xbmc/profiles/ProfileManager.cpp b/xbmc/profiles/ProfileManager.cpp index 827bfb112f..8b181dd9dd 100644 --- a/xbmc/profiles/ProfileManager.cpp +++ b/xbmc/profiles/ProfileManager.cpp @@ -77,6 +77,7 @@ #define XML_NEXTID "nextIdProfile" #define XML_PROFILE "profile" +using namespace KODI; using namespace XFILE; static CProfile EmptyProfile; @@ -388,9 +389,9 @@ void CProfileManager::FinalizeLoadProfile() if (m_lastUsedProfile != m_currentProfile) { - playlistManager.ClearPlaylist(PLAYLIST::TYPE_VIDEO); - playlistManager.ClearPlaylist(PLAYLIST::TYPE_MUSIC); - playlistManager.SetCurrentPlaylist(PLAYLIST::TYPE_NONE); + playlistManager.ClearPlaylist(PLAYLIST::Id::TYPE_VIDEO); + playlistManager.ClearPlaylist(PLAYLIST::Id::TYPE_MUSIC); + playlistManager.SetCurrentPlaylist(PLAYLIST::Id::TYPE_NONE); } networkManager.NetworkMessage(CNetworkBase::SERVICES_UP, 1); |