From: Lars Op den Kamp Date: Tue, 6 Nov 2012 00:34:28 +0000 (+0100) Subject: [pvr] fixed - start and stop the pvr manager via app messenger when updating the... X-Git-Tag: Frodo_beta1~109 X-Git-Url: http://code.vuplus.com/gitweb/?a=commitdiff_plain;h=a22348d267b3bbbd93015750aacb79ecceb462b4;p=vuplus_xbmc [pvr] fixed - start and stop the pvr manager via app messenger when updating the guisetting. pvr may create a dialog or kaitoast notification, leading to a deadlock --- diff --git a/xbmc/settings/GUIWindowSettingsCategory.cpp b/xbmc/settings/GUIWindowSettingsCategory.cpp index e7dabe8..d3825cd 100644 --- a/xbmc/settings/GUIWindowSettingsCategory.cpp +++ b/xbmc/settings/GUIWindowSettingsCategory.cpp @@ -1779,9 +1779,9 @@ void CGUIWindowSettingsCategory::OnSettingChanged(CBaseSettingControl *pSettingC else if (strSetting.Equals("pvrmanager.enabled")) { if (g_guiSettings.GetBool("pvrmanager.enabled")) - g_application.StartPVRManager(); + CApplicationMessenger::Get().ExecBuiltIn("XBMC.StartPVRManager", false); else - g_application.StopPVRManager(); + CApplicationMessenger::Get().ExecBuiltIn("XBMC.StopPVRManager", false); } else if (strSetting.Equals("masterlock.lockcode")) {