From ed903c42b9aac5a87cdbef0c888782b4985724b0 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 28 Dec 2014 21:06:07 -0200 Subject: Facebook integration: Always ask for a folder before sending the photo This way we are sure that the upload was made in the correct folder. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/maintab.cpp') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 6edc5fa8e..302c0b210 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -190,6 +190,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), FacebookManager *fb = FacebookManager::instance(); connect(fb, &FacebookManager::justLoggedIn, ui.facebookPublish, &QPushButton::show); connect(fb, &FacebookManager::justLoggedOut, ui.facebookPublish, &QPushButton::hide); + connect(ui.facebookPublish, &QPushButton::clicked, fb, &FacebookManager::sendDive); ui.facebookPublish->setVisible(fb->loggedIn()); } -- cgit v1.2.3-70-g09d2