summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/plugins/facebook/facebookconnectwidget.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-10-02 14:54:00 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-02 08:54:03 -0700
commit3a564f412cbf6e8a300bba3ec4bb7941bb3f167b (patch)
tree1c1720ad9faa8c05e17d8874a8f3782a3d2c108f /desktop-widgets/plugins/facebook/facebookconnectwidget.h
parent5595d9a8b014a71ca1d62db9e0c6562d3480d013 (diff)
downloadsubsurface-3a564f412cbf6e8a300bba3ec4bb7941bb3f167b.tar.gz
[Facebook] Use correct albumName variable
and code cleanup Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/plugins/facebook/facebookconnectwidget.h')
-rw-r--r--desktop-widgets/plugins/facebook/facebookconnectwidget.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.h b/desktop-widgets/plugins/facebook/facebookconnectwidget.h
index 226100148..1c9e56f76 100644
--- a/desktop-widgets/plugins/facebook/facebookconnectwidget.h
+++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.h
@@ -18,12 +18,13 @@ namespace Ui {
}
struct FacebookInfo {
- enum Size {SMALL, MEDIUM, BIG};
+ enum Size {SMALL, MEDIUM, BIG};
- QString bodyText;
- QString albumId;
- Size profileSize;
- QPixmap profileData;
+ QString bodyText;
+ QString albumId;
+ QString albumName;
+ Size profileSize;
+ QPixmap profileData;
};
class FacebookManager : public QObject
@@ -56,7 +57,6 @@ public slots:
void facebookAlbumCreated();
private:
explicit FacebookManager(QObject *parent = 0);
- QString albumName;
FacebookInfo fbInfo;
QNetworkAccessManager *manager;
};