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/FTPFileYM/src/ftpfile.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/FTPFileYM/src/ftpfile.cpp') diff --git a/plugins/FTPFileYM/src/ftpfile.cpp b/plugins/FTPFileYM/src/ftpfile.cpp index 7827fb9f8e..bc4d4dc996 100644 --- a/plugins/FTPFileYM/src/ftpfile.cpp +++ b/plugins/FTPFileYM/src/ftpfile.cpp @@ -96,7 +96,6 @@ void InitMenuItems() mi.hIcolibItem = iconList[ServerList::FTP_COUNT].hIcolib; mi.position = 3000090001; mi.name.w = LPGENW("FTP File"); - mi.Module = MODULE; hMainMenu = Menu_AddMainMenuItem(&mi); if (opt.bUseSubmenu) @@ -125,7 +124,6 @@ void InitMenuItems() mi2.root = hSubMenu[i]; mi2.pszService = MS_FTPFILE_CONTACTMENU; mi2.name.w = LPGENW("Upload file(s)"); - mi2.Module = MODULE; HGENMENU tmp = Menu_AddContactMenuItem(&mi2); Menu_ConfigureItem(tmp, MCI_OPT_EXECPARAM, mi2.position = i + UploadJob::FTP_RAWFILE); -- cgit v1.2.3