mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Facebook integration: actually call the disconnect callback
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7e98016832
commit
a63505dde9
1 changed files with 1 additions and 0 deletions
|
@ -244,6 +244,7 @@ FacebookConnectWidget::FacebookConnectWidget(QWidget *parent) : QDialog(parent),
|
||||||
connect(facebookWebView, &QWebView::urlChanged, fb, &FacebookManager::tryLogin);
|
connect(facebookWebView, &QWebView::urlChanged, fb, &FacebookManager::tryLogin);
|
||||||
#endif
|
#endif
|
||||||
connect(fb, &FacebookManager::justLoggedIn, this, &FacebookConnectWidget::facebookLoggedIn);
|
connect(fb, &FacebookManager::justLoggedIn, this, &FacebookConnectWidget::facebookLoggedIn);
|
||||||
|
connect(fb, &FacebookManager::justLoggedOut, this, &FacebookConnectWidget::facebookDisconnect);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FacebookConnectWidget::facebookLoggedIn()
|
void FacebookConnectWidget::facebookLoggedIn()
|
||||||
|
|
Loading…
Add table
Reference in a new issue