[Facebook] Use correct albumName variable

and code cleanup

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2017-10-02 14:54:00 +02:00 committed by Dirk Hohndel
parent 5595d9a8b0
commit 3a564f412c
2 changed files with 14 additions and 13 deletions

View file

@ -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;
};