summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();