summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-11-08 11:01:03 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-08 09:45:02 -0800
commit72b85e315194e5a2f58bad68ecb2fe2657e17bc7 (patch)
treed393870e4b1282a9ea4fe38326b837d83cf74789 /desktop-widgets/mainwindow.cpp
parent287977b04c876cea73491d902a9f7353785730ec (diff)
downloadsubsurface-72b85e315194e5a2f58bad68ecb2fe2657e17bc7.tar.gz
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>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp10
1 files changed, 0 insertions, 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()){