summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/menus.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-02-28 23:53:51 +0300
committeraunsane <aunsane@gmail.com>2018-02-28 23:56:44 +0300
commit77f131a927158e6131fdad1c94ad166e0048e318 (patch)
tree94ad387a04b0111fa687a2aaa55dec3ab899e142 /plugins/CloudFile/src/menus.cpp
parent24ab74843c7f94e6adb212c3d8081abc4fb27530 (diff)
CloudFile: auth doesn't work (fixed #1171)
Diffstat (limited to 'plugins/CloudFile/src/menus.cpp')
-rw-r--r--plugins/CloudFile/src/menus.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/plugins/CloudFile/src/menus.cpp b/plugins/CloudFile/src/menus.cpp
index 9bb7ccda8d..17d421b008 100644
--- a/plugins/CloudFile/src/menus.cpp
+++ b/plugins/CloudFile/src/menus.cpp
@@ -29,16 +29,6 @@ void InitializeMenus()
mi.position = -2000019999;
mi.hIcon = LoadIconEx(IDI_UPLOAD);
hContactMenu = Menu_AddContactMenuItem(&mi);
-
- /*if (defaultService)
- return;
-
- UNSET_UID(mi);
-
- mi.root = hContactMenu;
-
- for (auto &service : Services)
- AddServiceMenuItem(service);*/
}
void AddServiceMenuItem(const CCloudService *service)
@@ -58,7 +48,6 @@ void AddServiceMenuItem(const CCloudService *service)
int OnPrebuildContactMenu(WPARAM hContact, LPARAM)
{
- //Menu_ShowItem(hContactMenu, CanSendToContact(hContact));
-
+ Menu_ShowItem(hContactMenu, CanSendToContact(hContact));
return 0;
} \ No newline at end of file