mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:13:25 +00:00
[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>
This commit is contained in:
parent
dd17c6355d
commit
e662ce1cec
1 changed files with 5 additions and 0 deletions
|
@ -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?" +
|
||||
|
|
Loading…
Add table
Reference in a new issue