aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-12-23 19:29:00 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-24 06:37:41 -0800
commita7e148c0a8e121aa677e52827d5d4cfbdd4ebea7 (patch)
tree7b27997cdf1b0da9e9a3de9c5f49944617961562 /qt-ui/preferences.h
parentcc69e6ffa2a3f8e6e65e02459d8508f688fdaaf2 (diff)
downloadsubsurface-a7e148c0a8e121aa677e52827d5d4cfbdd4ebea7.tar.gz
Disconnect from facebook manually.
Added a button to disconnect from facebook. This clears the webview cookies so it correctly disconnects us from facebook, and clears the access token. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.h')
-rw-r--r--qt-ui/preferences.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/preferences.h b/qt-ui/preferences.h
index d7755bad4..1db95a91e 100644
--- a/qt-ui/preferences.h
+++ b/qt-ui/preferences.h
@@ -31,6 +31,8 @@ slots:
void proxyType_changed(int idx);
void on_btnUseDefaultFile_toggled(bool toggle);
void facebookLoginResponse(const QUrl& url);
+ void facebookDisconnect();
+
private:
explicit PreferencesDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
void setUiFromPrefs();