diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-10-02 14:22:02 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-02 08:54:03 -0700 |
commit | e662ce1cec935e13b7f3c078e527e1b05dfeaceb (patch) | |
tree | de364f114a057b17489dc3bb1b3fe796203177ba /desktop-widgets | |
parent | dd17c6355d5367fd055f6c7c0320bc744f9256e6 (diff) | |
download | subsurface-e662ce1cec935e13b7f3c078e527e1b05dfeaceb.tar.gz |
[Facebook] Fill the info struct
This will be used to send the profile to Facebook
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp index 75cc0ed23..ab79c8731 100644 --- a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp +++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp @@ -196,6 +196,11 @@ void FacebookManager::sendDive() if (dialog.exec() != QDialog::Accepted) return; + fbInfo.bodyText = dialog.text(); + fbInfo.profileSize = dialog.profileSize(); + fbInfo.profileData = grabProfilePixmap(); + fbInfo.albumId = QString(); // request Album Id wil handle that. + requestAlbumId(); QUrl url(graphApi + QString(prefs.facebook.album_id) + "/photos?" + |