summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/plugins
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-11-08 10:58:59 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-08 09:44:55 -0800
commit287977b04c876cea73491d902a9f7353785730ec (patch)
treea6e6baf0a1344ddc3d72e6e315ad71d954bbe45e /desktop-widgets/plugins
parent486857f2b4264295a078de5dad541122186d22ab (diff)
downloadsubsurface-287977b04c876cea73491d902a9f7353785730ec.tar.gz
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 <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/plugins')
-rw-r--r--desktop-widgets/plugins/facebook/facebook_integration.cpp4
-rw-r--r--desktop-widgets/plugins/facebook/facebook_integration.h2
2 files changed, 3 insertions, 3 deletions
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