Hi,

Tomas came to my house and fixed this. Thanks!

Best
Robert
From de99b405fbbffbbacd23575707428d42cee8a39e Mon Sep 17 00:00:00 2001
From: "Robert C. Helling" <[email protected]>
Date: Tue, 20 Dec 2016 21:40:31 +0100
Subject: [PATCH] Reenable Facebook Postings
To: [email protected]

This is what Tomaz said should be done. Thanks!

Signed-off-by: Robert C. Helling <[email protected]>
---
 desktop-widgets/plugins/facebook/facebook_integration.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/desktop-widgets/plugins/facebook/facebook_integration.cpp 
b/desktop-widgets/plugins/facebook/facebook_integration.cpp
index 58d757e..b07d78f 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();
 }
-- 
2.10.1 (Apple Git-78)

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to