diff options
author | George Hazan <ghazan@miranda.im> | 2019-04-13 20:22:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-04-13 20:22:59 +0300 |
commit | 680873487c4a7987012606119a744e5ca725ad30 (patch) | |
tree | 8e5fbc68a253c3ec44287754c9295670f1ee44c3 /protocols/CloudFile/src/menus.cpp | |
parent | 6c4136504c660bf3359e6641362672c4b9502be5 (diff) |
merge with trunk
Diffstat (limited to 'protocols/CloudFile/src/menus.cpp')
-rw-r--r-- | protocols/CloudFile/src/menus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/CloudFile/src/menus.cpp b/protocols/CloudFile/src/menus.cpp index 3ca1b085b9..33fe369406 100644 --- a/protocols/CloudFile/src/menus.cpp +++ b/protocols/CloudFile/src/menus.cpp @@ -26,7 +26,7 @@ void InitializeMenus() } mi.position = -2000019999; - mi.hIcon = LoadIconEx(IDI_UPLOAD); + mi.hIcon = g_plugin.getIcon(IDI_UPLOAD); hContactMenu = Menu_AddContactMenuItem(&mi); } @@ -39,7 +39,7 @@ void CCloudService::OnModulesLoaded() mi.flags = CMIF_SYSTEM | CMIF_UNICODE; mi.name.w = (wchar_t*)GetUserName(); mi.position = Services.getCount(); - mi.hIcolibItem = GetIconHandle(GetIconId()); + mi.hIcolibItem = g_plugin.getIconHandle(GetIconId()); Menu_AddContactMenuItem(&mi); CreateServiceFunctionObj(mi.pszService, UploadMenuCommand, this); |