From 287977b04c876cea73491d902a9f7353785730ec Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 8 Nov 2015 10:58:59 -0200 Subject: Change from uploadCurrentDive to requestUpload call Since we can't forbit the plugins to upload more than just the current dive, it's better to change the name of the call. also add a stub to make sure it's calling the right method inside the plugin. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- desktop-widgets/plugins/facebook/facebook_integration.cpp | 4 ++-- desktop-widgets/plugins/facebook/facebook_integration.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop-widgets/plugins') diff --git a/desktop-widgets/plugins/facebook/facebook_integration.cpp b/desktop-widgets/plugins/facebook/facebook_integration.cpp index 28e65254a..43f74b8f9 100644 --- a/desktop-widgets/plugins/facebook/facebook_integration.cpp +++ b/desktop-widgets/plugins/facebook/facebook_integration.cpp @@ -34,7 +34,7 @@ QString FacebookPlugin::socialNetworkName() const return tr("Facebook"); } -void FacebookPlugin::uploadCurrentDive() +void FacebookPlugin::requestUpload() { - + qDebug() << "Upload Requested"; } diff --git a/desktop-widgets/plugins/facebook/facebook_integration.h b/desktop-widgets/plugins/facebook/facebook_integration.h index a9d212e7e..99362e747 100644 --- a/desktop-widgets/plugins/facebook/facebook_integration.h +++ b/desktop-widgets/plugins/facebook/facebook_integration.h @@ -15,7 +15,7 @@ public: virtual void requestLogoff(); virtual QString socialNetworkIcon() const; virtual QString socialNetworkName() const; - virtual void uploadCurrentDive(); + virtual void requestUpload(); }; #endif \ No newline at end of file -- cgit v1.2.3-70-g09d2