Skip to content

Commit

Permalink
[cleanup] drop dependency to weather manager from CSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
xhaggi committed Jan 7, 2018
1 parent ba1dae5 commit d4f2e15
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xbmc/settings/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
#include "SeekHandler.h"
#include "utils/Variant.h"
#include "view/ViewStateSettings.h"
#include "weather/WeatherManager.h"
#include "ServiceBroker.h"
#include "DiscSettings.h"

Expand Down Expand Up @@ -829,7 +828,6 @@ void CSettings::UninitializeISettingsHandlers()
#if defined(TARGET_LINUX)
GetSettingsManager()->UnregisterCallback(&g_timezone);
#endif // defined(TARGET_LINUX)
GetSettingsManager()->UnregisterCallback(&CServiceBroker::GetWeatherManager());
#if defined(TARGET_DARWIN_OSX)
GetSettingsManager()->UnregisterCallback(&XBMCHelper::GetInstance());
#endif
Expand Down

0 comments on commit d4f2e15

Please sign in to comment.