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/QuickSearch/sr_global.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/QuickSearch/sr_global.pas') 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 --------- -- cgit v1.2.3