summaryrefslogtreecommitdiff
path: root/protocols/CloudFile/src/menus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-04-13 20:22:59 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-04-13 20:22:59 +0300
commit680873487c4a7987012606119a744e5ca725ad30 (patch)
tree8e5fbc68a253c3ec44287754c9295670f1ee44c3 /protocols/CloudFile/src/menus.cpp
parent6c4136504c660bf3359e6641362672c4b9502be5 (diff)
merge with trunk
Diffstat (limited to 'protocols/CloudFile/src/menus.cpp')
-rw-r--r--protocols/CloudFile/src/menus.cpp4
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);