summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-12-28 21:46:42 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-29 09:07:47 -0800
commita65816db7d9120cb4548e8277da1e627272fb937 (patch)
tree74c252af4f2c529e6fd06ded60e5cb164b29968a /qt-ui/preferences.cpp
parentb84edad59766e5f59f6c3dcf5bb3a2ec24fc3eec (diff)
downloadsubsurface-a65816db7d9120cb4548e8277da1e627272fb937.tar.gz
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 <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.cpp')
-rw-r--r--qt-ui/preferences.cpp2
1 files changed, 0 insertions, 2 deletions
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);