summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/plugins
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-10-02 14:21:40 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-02 08:54:03 -0700
commitdd17c6355d5367fd055f6c7c0320bc744f9256e6 (patch)
tree4a176cf803caf82d0a9a2a103af0605fd36552c6 /desktop-widgets/plugins
parent1d8eb0d78a31209f182b1e660bed679d071b3c25 (diff)
downloadsubsurface-dd17c6355d5367fd055f6c7c0320bc744f9256e6.tar.gz
[Facebook] Remove broken function
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/plugins')
-rw-r--r--desktop-widgets/plugins/facebook/facebookconnectwidget.cpp6
-rw-r--r--desktop-widgets/plugins/facebook/facebookconnectwidget.h1
2 files changed, 0 insertions, 7 deletions
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();