aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2016-12-20 21:40:31 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-12-24 06:18:20 +0900
commit6504cd8c46535e46a1c8eac35f4011ff93f457ef (patch)
tree4ff017d360ac373ed455bf9c309d91b721204eaf
parentc3be6978589c945b0dd92d5c8327a98d993886b5 (diff)
downloadsubsurface-6504cd8c46535e46a1c8eac35f4011ff93f457ef.tar.gz
Reenable Facebook Postings
This is what Tomaz said should be done. Thanks! Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--desktop-widgets/plugins/facebook/facebook_integration.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop-widgets/plugins/facebook/facebook_integration.cpp b/desktop-widgets/plugins/facebook/facebook_integration.cpp
index 58d757e87..b07d78f66 100644
--- a/desktop-widgets/plugins/facebook/facebook_integration.cpp
+++ b/desktop-widgets/plugins/facebook/facebook_integration.cpp
@@ -4,8 +4,7 @@
#include <QDebug>
FacebookPlugin::FacebookPlugin(QObject* parent) :
- fbConnectWidget(new FacebookConnectWidget()),
- fbUploadDialog(new SocialNetworkDialog())
+ fbConnectWidget(new FacebookConnectWidget())
{
Q_UNUSED(parent)
}
@@ -40,5 +39,5 @@ void FacebookPlugin::requestUpload()
{
FacebookManager *instance = FacebookManager::instance();
if (instance->loggedIn())
- fbUploadDialog->exec();
+ instance->sendDive();
}