From a65816db7d9120cb4548e8277da1e627272fb937 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 28 Dec 2014 21:46:42 -0200 Subject: Remove uneeded Facebook album setting This now is chosen directly from the popup box that appears when you try to send a picture to facebook. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/preferences.cpp | 2 -- qt-ui/preferences.ui | 28 +++++++--------------------- qt-ui/socialnetworks.cpp | 1 - 3 files changed, 7 insertions(+), 24 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp index c3ae3b5f7..871faeace 100644 --- a/qt-ui/preferences.cpp +++ b/qt-ui/preferences.cpp @@ -38,8 +38,6 @@ PreferencesDialog::PreferencesDialog(QWidget *parent, Qt::WindowFlags f) : QDial } else { ui.facebookWebView->setUrl(fb->connectUrl()); } - fb->setDesiredAlbumName(ui.facebookAlbum->text()); - connect(ui.facebookAlbum, &QLineEdit::textChanged, fb, &FacebookManager::setDesiredAlbumName); connect(ui.facebookWebView, &QWebView::urlChanged, fb, &FacebookManager::tryLogin); connect(fb, &FacebookManager::justLoggedIn, this, &PreferencesDialog::facebookLoggedIn); connect(ui.btnDisconnectFacebook, &QPushButton::clicked, fb, &FacebookManager::logout); diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui index 50fdd71a3..4b69636b4 100644 --- a/qt-ui/preferences.ui +++ b/qt-ui/preferences.ui @@ -7,7 +7,7 @@ 0 0 924 - 735 + 742 @@ -987,20 +987,6 @@ - - - - Facebook Album for Subsurface Uploads - - - - - - - subsurface - - - @@ -1048,7 +1034,7 @@ QWebView QWidget -
QtWebKit/QWebView
+
QtWebKitWidgets/QWebView
@@ -1391,12 +1377,12 @@ - - - - - + + + + + diff --git a/qt-ui/socialnetworks.cpp b/qt-ui/socialnetworks.cpp index 8d24b2269..2be2c8671 100644 --- a/qt-ui/socialnetworks.cpp +++ b/qt-ui/socialnetworks.cpp @@ -196,7 +196,6 @@ void FacebookManager::sendDive() if (dialog.exec() != QDialog::Accepted) return; - setDesiredAlbumName(dialog.album()); requestAlbumId(); -- cgit v1.2.3-70-g09d2