From 3d3eac7cc72d9466464b59c66fb1b5162b789879 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 25 Dec 2014 12:55:06 -0200 Subject: Send an experimental file to the experimental album on Facebook And I had to create the Http header by hand because I couldn't figure out how to do using HttpMultiPart from Qt. not fun. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/divelistview.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/divelistview.cpp') diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index 83d78c4c2..cbbf35152 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include "socialnetworks.h" #include "../qthelper.h" @@ -844,6 +845,7 @@ void DiveListView::contextMenuEvent(QContextMenuEvent *event) void DiveListView::publishFacebook() { FacebookManager *fb = FacebookManager::instance(); + fb->sendDive(1); } void DiveListView::shiftTimes() -- cgit v1.2.3-70-g09d2