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>
This commit is contained in:
Tomaz Canabrava 2014-12-25 12:55:06 -02:00 committed by Dirk Hohndel
parent 83fd196c4a
commit 3d3eac7cc7
3 changed files with 47 additions and 0 deletions

View file

@ -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()