From dd17c6355d5367fd055f6c7c0320bc744f9256e6 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 2 Oct 2017 14:21:40 +0200 Subject: [Facebook] Remove broken function Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | 6 ------ desktop-widgets/plugins/facebook/facebookconnectwidget.h | 1 - 2 files changed, 7 deletions(-) (limited to 'desktop-widgets') diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp index c1d42c2b4..75cc0ed23 100644 --- a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp +++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp @@ -168,11 +168,6 @@ void FacebookManager::userIdReceived() reply->deleteLater(); } -void FacebookManager::setDesiredAlbumName(const QString& a) -{ - albumName = a; -} - QPixmap FacebookManager::grabProfilePixmap() { ProfileWidget2 *profile = MainWindow::instance()->graphics(); @@ -201,7 +196,6 @@ void FacebookManager::sendDive() if (dialog.exec() != QDialog::Accepted) return; - setDesiredAlbumName(dialog.album()); requestAlbumId(); QUrl url(graphApi + QString(prefs.facebook.album_id) + "/photos?" + diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.h b/desktop-widgets/plugins/facebook/facebookconnectwidget.h index c5458bdd0..4bc868835 100644 --- a/desktop-widgets/plugins/facebook/facebookconnectwidget.h +++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.h @@ -45,7 +45,6 @@ signals: public slots: void tryLogin(const QUrl& loginResponse); void logout(); - void setDesiredAlbumName(const QString& albumName); void sendDive(); void uploadFinished(); void albumListReceived(); -- cgit v1.2.3-70-g09d2