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/QuickSearch | |
parent | 48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (diff) |
slightly optimized way of getting menu item's module name
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r-- | plugins/QuickSearch/sr_global.pas | 3 | ||||
-rw-r--r-- | plugins/QuickSearch/sr_window.pas | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/plugins/QuickSearch/sr_global.pas b/plugins/QuickSearch/sr_global.pas index b54dc76401..1490c52eea 100644 --- a/plugins/QuickSearch/sr_global.pas +++ b/plugins/QuickSearch/sr_global.pas @@ -240,8 +240,7 @@ begin mi.position :=500050000;
mi.pszService :=QS_SHOWSERVICE;
mi.hIcon :=IcoLib_GetIcon(QS_QS,0);
- mi.Module :=qs_module;
- MainMenuItem :=Menu_AddMainMenuItem(@mi);
+ MainMenuItem :=Menu_AddMainMenuItem(@mi);
end;
// -------- column functions ---------
diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas index cdd7673e3d..e1d44f8e11 100644 --- a/plugins/QuickSearch/sr_window.pas +++ b/plugins/QuickSearch/sr_window.pas @@ -816,7 +816,6 @@ begin mi.flags :=CMIF_UNICODE;
mi.szName.w :='Change setting through QS';
mi.pszService:='QS/dummy';
- mi.Module:=qs_module;
mnuhandle:=Menu_AddContactMenuItem(@mi);
end
else
|