diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-02-01 10:47:31 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-01 10:47:31 -0800 |
commit | f30ff4fde73ac7526294b33c17da2f24fcd56d5d (patch) | |
tree | 9b88b458f1e931585d726a2c0825d3acf69b2e40 /qt-ui | |
parent | 55810fb03241ce11b313fc34ba9c18e4a48bd1ab (diff) | |
download | subsurface-f30ff4fde73ac7526294b33c17da2f24fcd56d5d.tar.gz |
Facebook integration: only set the URL once
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/preferences.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp index 6509975f8..05d638567 100644 --- a/qt-ui/preferences.cpp +++ b/qt-ui/preferences.cpp @@ -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(); |