diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-10-02 14:21:40 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-02 08:54:03 -0700 |
commit | dd17c6355d5367fd055f6c7c0320bc744f9256e6 (patch) | |
tree | 4a176cf803caf82d0a9a2a103af0605fd36552c6 /desktop-widgets | |
parent | 1d8eb0d78a31209f182b1e660bed679d071b3c25 (diff) | |
download | subsurface-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')
-rw-r--r-- | desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | 6 | ||||
-rw-r--r-- | desktop-widgets/plugins/facebook/facebookconnectwidget.h | 1 |
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(); |