summaryrefslogtreecommitdiffstats
path: root/qt-ui/socialnetworks.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-09-16 16:43:01 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-16 21:16:58 -0700
commitd59e89e569b732661633424fcf19f09e95b936fe (patch)
tree738d09dfd413ba279ada2a05a88eba5a031efcdf /qt-ui/socialnetworks.cpp
parente945134cc48315dfbe462051d9facd1543779e2c (diff)
downloadsubsurface-d59e89e569b732661633424fcf19f09e95b936fe.tar.gz
Make Facebook more user friendly
The current way that facebook works is terrible: it's scattered around tons of files ( at least 4 different files and classes ) this moves things around a bit, add a disconnect button that was missing, cleans tons of code and fix inconsistencies. I will also redo this part for 5.0, but it's too late for 4.5 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/socialnetworks.cpp')
-rw-r--r--qt-ui/socialnetworks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/socialnetworks.cpp b/qt-ui/socialnetworks.cpp
index c165043b6..6e191267a 100644
--- a/qt-ui/socialnetworks.cpp
+++ b/qt-ui/socialnetworks.cpp
@@ -94,7 +94,7 @@ void FacebookManager::tryLogin(const QUrl& loginResponse)
#endif
requestUserId();
sync();
- emit justLoggedIn();
+ emit justLoggedIn(true);
}
void FacebookManager::logout()
@@ -115,7 +115,7 @@ void FacebookManager::logout()
prefs.facebook.album_id = NULL;
prefs.facebook.user_id = NULL;
#endif
- emit justLoggedOut();
+ emit justLoggedOut(true);
}
void FacebookManager::requestAlbumId()