diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-12-28 20:24:02 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-29 09:05:08 -0800 |
commit | 571f86485d6063f86901487bca62e79b6383db45 (patch) | |
tree | 52ec03557d1c901f9e11dd0b4ca46a238f142a38 /qt-ui/divelistview.cpp | |
parent | db0c1b834a9e3d516484a6e42f1fddc538477071 (diff) | |
download | subsurface-571f86485d6063f86901487bca62e79b6383db45.tar.gz |
Move the Facebook send profile button
Move from the Dive List context menu to the Dive Info tab, it will only
appear when connected to Facebook.
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 | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index cbbf35152..d6f52c646 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -826,9 +826,6 @@ void DiveListView::contextMenuEvent(QContextMenuEvent *event) popup.addAction(tr("Shift times"), this, SLOT(shiftTimes())); popup.addAction(tr("Load images"), this, SLOT(loadImages())); } - if (prefs.facebook.user_id) { - popup.addAction(tr("Publish on Facebook"), this, SLOT(publishFacebook())); - } // "collapse all" really closes all trips, // "collapse" keeps the trip with the selected dive open @@ -842,11 +839,6 @@ void DiveListView::contextMenuEvent(QContextMenuEvent *event) event->accept(); } -void DiveListView::publishFacebook() -{ - FacebookManager *fb = FacebookManager::instance(); - fb->sendDive(1); -} void DiveListView::shiftTimes() { |