mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Facebook integration: only set the URL once
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
55810fb032
commit
f30ff4fde7
1 changed files with 0 additions and 1 deletions
|
@ -93,7 +93,6 @@ void PreferencesDialog::facebookDisconnect()
|
|||
ui.fbConnected->hide();
|
||||
ui.FBLabel->setText(tr("To connect to Facebook, please log in. This enables Subsurface to publish dives to your timeline"));
|
||||
if (facebookWebView) {
|
||||
facebookWebView->setUrl(FacebookManager::instance()->connectUrl());
|
||||
facebookWebView->page()->networkAccessManager()->setCookieJar(new QNetworkCookieJar());
|
||||
facebookWebView->setUrl(FacebookManager::instance()->connectUrl());
|
||||
facebookWebView->show();
|
||||
|
|
Loading…
Add table
Reference in a new issue