mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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();
|
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()){
|
||||||
|
|
Loading…
Reference in a new issue