summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-12-24 21:34:23 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-24 15:54:28 -0800
commitee5d93e155ec58c82cb0f1225dc2f5b34f9e78ce (patch)
treecd69ebd7fa999ab7ae06d002543b38939cb8f9de /qt-ui/divelistview.cpp
parentc8c17dc01ec66f8bc5641dbe93768aa8f4a9b364 (diff)
downloadsubsurface-ee5d93e155ec58c82cb0f1225dc2f5b34f9e78ce.tar.gz
Changed Facebook stuff to socialnetworks.h/cpp
All Facebook related stuff now is on SocialNetworks.h/cpp this makes it much easier to implement things and looking for bugs. working: - logging in - getting user id - getting album id ( or creating it ) *much* more testing is needed, of course. 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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index 65090e1e8..83d78c4c2 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -27,6 +27,7 @@
#include <QFileDialog>
#include <string>
#include <iostream>
+#include "socialnetworks.h"
#include "../qthelper.h"
// # Date Rtg Dpth Dur Tmp Wght Suit Cyl Gas SAC OTU CNS Loc
@@ -842,8 +843,7 @@ void DiveListView::contextMenuEvent(QContextMenuEvent *event)
void DiveListView::publishFacebook()
{
- FacebookManager manager;
- manager.checkAlbumExists();
+ FacebookManager *fb = FacebookManager::instance();
}
void DiveListView::shiftTimes()