mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
83fd196c4a
commit
3d3eac7cc7
3 changed files with 47 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue