diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-12-25 12:55:06 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-25 10:40:09 -0800 |
commit | 3d3eac7cc72d9466464b59c66fb1b5162b789879 (patch) | |
tree | 39502b54ee95ae2b6067781fa66b9af69888c456 /qt-ui/divelistview.cpp | |
parent | 83fd196c4ad15274c4499b4ef94e30398f00bfce (diff) | |
download | subsurface-3d3eac7cc72d9466464b59c66fb1b5162b789879.tar.gz |
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 <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r-- | qt-ui/divelistview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 <QFileDialog> #include <string> #include <iostream> +#include <QHttpMultiPart> #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() |