summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/srmm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/srmm.cpp')
-rw-r--r--plugins/CloudFile/src/srmm.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/srmm.cpp b/plugins/CloudFile/src/srmm.cpp
index 8e400bbdbf..2a49cdb7ef 100644
--- a/plugins/CloudFile/src/srmm.cpp
+++ b/plugins/CloudFile/src/srmm.cpp
@@ -45,8 +45,7 @@ int OnSrmmButtonPressed(WPARAM, LPARAM lParam)
if (cbc->flags != BBCF_ARROWCLICKED) {
ptrA defaultService(db_get_sa(NULL, MODULE, "DefaultService"));
if (defaultService) {
- CCloudServiceSearch search(defaultService);
- CCloudService *service = Services.find(&search);
+ CCloudService *service = FindService(defaultService);
if (service)
service->OpenUploadDialog(cbc->hContact);
return 0;