mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
287977b04c
commit
72b85e3151
1 changed files with 0 additions and 10 deletions
|
@ -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()){
|
||||
|
|
Loading…
Reference in a new issue