We are not using this code anymore, rip it off

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-11-08 11:01:03 -02:00 committed by Dirk Hohndel
parent 287977b04c
commit 72b85e3151

View file

@ -243,16 +243,6 @@ MainWindow::MainWindow() : QMainWindow(),
find_all_templates(); find_all_templates();
#endif #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()) { if(PluginManager::instance().socialNetworkIntegrationPlugins().count()) {
QMenu *connections = new QMenu(tr("Connect to")); QMenu *connections = new QMenu(tr("Connect to"));
for(ISocialNetworkIntegration *plugin : PluginManager::instance().socialNetworkIntegrationPlugins()){ for(ISocialNetworkIntegration *plugin : PluginManager::instance().socialNetworkIntegrationPlugins()){