aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r--qt-ui/divelistview.cpp8
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()
{