aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/plugins/facebook/facebookconnectwidget.cpp')
-rw-r--r--desktop-widgets/plugins/facebook/facebookconnectwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp
index 721179db6..27807cadc 100644
--- a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp
+++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp
@@ -110,6 +110,7 @@ void FacebookManager::albumListReceived()
QJsonObject obj = v.toObject();
if (obj.value("name").toString() == albumName) {
fb->setAlbumId(obj.value("id").toString());
+ emit albumIdReceived(fb->albumId());
return;
}
}
@@ -142,6 +143,7 @@ void FacebookManager::facebookAlbumCreated()
if (album.contains("id")) {
auto fb = SettingsObjectWrapper::instance()->facebook;
fb->setAlbumId(album.value("id").toString());
+ emit albumIdReceived(fb->albumId());
return;
}
}