Changeset 7e98016 in subsurface


Ignore:
Timestamp:
Jan 1, 2017, 10:20:28 PM (6 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
a63505dd
Parents:
c39fbea
Message:

Facebook integration: whitespace cleanup

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • desktop-widgets/plugins/facebook/facebookconnectwidget.cpp

    r529a4d49 r7e98016  
    7979        QString securityToken = result.mid(from, to-from);
    8080
    81         auto fb = SettingsObjectWrapper::instance()->facebook;
    82         fb->setAccessToken(securityToken);
     81        auto fb = SettingsObjectWrapper::instance()->facebook;
     82        fb->setAccessToken(securityToken);
    8383        requestUserId();
    8484        emit justLoggedIn(true);
     
    8787void FacebookManager::logout()
    8888{
    89         auto fb = SettingsObjectWrapper::instance()->facebook;
    90         fb->setAccessToken(QString());
    91         fb->setUserId(QString());
    92         fb->setAlbumId(QString());
     89        auto fb = SettingsObjectWrapper::instance()->facebook;
     90        fb->setAccessToken(QString());
     91        fb->setUserId(QString());
     92        fb->setAlbumId(QString());
    9393        emit justLoggedOut(true);
    9494}
     
    106106        QJsonDocument albumsDoc = QJsonDocument::fromJson(reply->readAll());
    107107        QJsonArray albumObj = albumsDoc.object().value("data").toArray();
    108         auto fb = SettingsObjectWrapper::instance()->facebook;
     108        auto fb = SettingsObjectWrapper::instance()->facebook;
    109109
    110110        foreach(const QJsonValue &v, albumObj){
     
    130130        QJsonObject album = albumsDoc.object();
    131131        if (album.contains("id")) {
    132                 fb->setAlbumId(album.value("id").toString());
     132                fb->setAlbumId(album.value("id").toString());
    133133                return;
    134134        }
Note: See TracChangeset for help on using the changeset viewer.