diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-27 12:32:05 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-27 12:32:05 +0300 |
commit | cc79c1d36c07b905f9d47e5002f90783de92e6cb (patch) | |
tree | 7bbad4f326de511109e641fb652133cf970dd4c6 /plugins/Alarms | |
parent | 48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (diff) |
slightly optimized way of getting menu item's module name
Diffstat (limited to 'plugins/Alarms')
-rwxr-xr-x | plugins/Alarms/src/frame.cpp | 1 | ||||
-rwxr-xr-x | plugins/Alarms/src/options.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
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);
}
|