summaryrefslogtreecommitdiff
path: root/plugins/Watrack/myshows/myshows.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/myshows/myshows.pas')
-rw-r--r--plugins/Watrack/myshows/myshows.pas5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Watrack/myshows/myshows.pas b/plugins/Watrack/myshows/myshows.pas
index 054d9a6010..28f8398cd3 100644
--- a/plugins/Watrack/myshows/myshows.pas
+++ b/plugins/Watrack/myshows/myshows.pas
@@ -197,7 +197,7 @@ end;
procedure CreateMenus;
var
- mi:TCListMenuItem;
+ mi:TMO_MenuItem;
sid:TSKINICONDESC;
begin
FillChar(sid,SizeOf(TSKINICONDESC),0);
@@ -212,8 +212,7 @@ begin
DestroyIcon(sid.hDefaultIcon);
FillChar(mi, sizeof(mi), 0);
- mi.hParentMenu:=Menu_CreateRoot(MO_MAIN, 'Watrack', 500050000, 0, 0);
-
+ mi.root :=Menu_CreateRoot(MO_MAIN, 'Watrack', 500050000, 0, 0);
mi.hIcon :=IcoLib_GetIcon(IcoMyShows,0);
mi.szName.a :='Disable scrobbling';
mi.pszService:=MS_WAT_MYSHOWS;