From cc79c1d36c07b905f9d47e5002f90783de92e6cb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 27 Nov 2017 12:32:05 +0300 Subject: slightly optimized way of getting menu item's module name --- plugins/Alarms/src/frame.cpp | 1 - plugins/Alarms/src/options.cpp | 1 - 2 files changed, 2 deletions(-) (limited to 'plugins/Alarms/src') diff --git a/plugins/Alarms/src/frame.cpp b/plugins/Alarms/src/frame.cpp index 28252c7bfa..fcbc4d75e0 100755 --- a/plugins/Alarms/src/frame.cpp +++ b/plugins/Alarms/src/frame.cpp @@ -531,7 +531,6 @@ int CreateFrame() mi.name.a = LPGEN("Show reminders"); mi.pszService = MODULE "/ShowHideReminders"; mi.position = 500010000; - mi.Module = MODULE; hMenuShowReminders = Menu_AddMainMenuItem(&mi); ///////////////////// diff --git a/plugins/Alarms/src/options.cpp b/plugins/Alarms/src/options.cpp index 87d0b35ee8..ec2a9a3467 100755 --- a/plugins/Alarms/src/options.cpp +++ b/plugins/Alarms/src/options.cpp @@ -823,7 +823,6 @@ void AddMenuItem() mi.name.a = "Set alarm"; mi.pszService = MODULE "/NewAlarm"; mi.position = 500010000; - mi.Module = MODULE; hMainMenuItem = Menu_AddMainMenuItem(&mi); } -- cgit v1.2.3