From e7b69721b0d390cec3f81f97134a51bfef228cf8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 28 Mar 2018 20:01:30 +0300 Subject: PFLAG_UNIQUEIDSETTING removed, its functionality transferred to Proto_SetUniqueId / Proto_GetUniqueId --- plugins/Weather/src/weather.cpp | 1 + plugins/Weather/src/weather_svcs.cpp | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/Weather') diff --git a/plugins/Weather/src/weather.cpp b/plugins/Weather/src/weather.cpp index 1a01b18802..00ceba9e93 100644 --- a/plugins/Weather/src/weather.cpp +++ b/plugins/Weather/src/weather.cpp @@ -241,6 +241,7 @@ struct CMPlugin : public CMPluginBase { opt.NoProtoCondition = db_get_b(NULL, WEATHERPROTONAME, "NoStatus", true); RegisterProtocol((opt.NoProtoCondition) ? PROTOTYPE_VIRTUAL : PROTOTYPE_PROTOCOL); + SetUniqueId("ID"); } } g_plugin; diff --git a/plugins/Weather/src/weather_svcs.cpp b/plugins/Weather/src/weather_svcs.cpp index 83521bb0d5..194975bd4a 100644 --- a/plugins/Weather/src/weather_svcs.cpp +++ b/plugins/Weather/src/weather_svcs.cpp @@ -79,10 +79,6 @@ INT_PTR WeatherGetCaps(WPARAM wParam, LPARAM) case PFLAG_UNIQUEIDTEXT: ret = (INT_PTR)Translate("Station ID"); break; - - case PFLAG_UNIQUEIDSETTING: - ret = (INT_PTR)"ID"; - break; } return ret; } -- cgit v1.2.3