From 72b85e315194e5a2f58bad68ecb2fe2657e17bc7 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 8 Nov 2015 11:01:03 -0200 Subject: [PATCH] We are not using this code anymore, rip it off Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- desktop-widgets/mainwindow.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index e727fce6c..12aed9c7a 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -243,16 +243,6 @@ MainWindow::MainWindow() : QMainWindow(), find_all_templates(); #endif -#if defined(FBSUPPORT) - FacebookManager *fb = FacebookManager::instance(); - connect(fb, SIGNAL(justLoggedIn(bool)), ui.actionFacebook, SLOT(setEnabled(bool))); - connect(fb, SIGNAL(justLoggedOut(bool)), ui.actionFacebook, SLOT(setEnabled(bool))); - connect(ui.actionFacebook, SIGNAL(triggered(bool)), fb, SLOT(sendDive())); - ui.actionFacebook->setEnabled(fb->loggedIn()); -#else - ui.actionFacebook->setEnabled(false); -#endif - if(PluginManager::instance().socialNetworkIntegrationPlugins().count()) { QMenu *connections = new QMenu(tr("Connect to")); for(ISocialNetworkIntegration *plugin : PluginManager::instance().socialNetworkIntegrationPlugins()){