diff options
Diffstat (limited to 'protocols/CloudFile/src')
-rw-r--r-- | protocols/CloudFile/src/cloud_file.cpp | 5 | ||||
-rw-r--r-- | protocols/CloudFile/src/menus.cpp | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/protocols/CloudFile/src/cloud_file.cpp b/protocols/CloudFile/src/cloud_file.cpp index e227105d1c..3be07d2f68 100644 --- a/protocols/CloudFile/src/cloud_file.cpp +++ b/protocols/CloudFile/src/cloud_file.cpp @@ -24,6 +24,11 @@ CCloudService::~CCloudService() m_hNetlibUser = nullptr; } +void CCloudService::OnModulesLoaded() +{ + InitializeMenus(); +} + HPLUGIN CCloudService::GetId() const { return m_pPlugin; diff --git a/protocols/CloudFile/src/menus.cpp b/protocols/CloudFile/src/menus.cpp index aaf767a322..38a12c6798 100644 --- a/protocols/CloudFile/src/menus.cpp +++ b/protocols/CloudFile/src/menus.cpp @@ -48,11 +48,6 @@ void InitializeMenus() } } -void CCloudService::OnModulesLoaded() -{ - InitializeMenus(); -} - int OnPrebuildContactMenu(WPARAM hContact, LPARAM) { Menu_ShowItem(hContactMenu, CanSendToContact(hContact)); |